News By Tag * Improved Imaging Core * Auto Layout Scaling * Optimized Dithering Mechanism * Auto-Rotate Jpeg Images * CAD Auto Layout Scaling * More Tags... Industry News News By Place Country(s) Industry News
| ![]() Auto Layout Scaling for CAD Conversion & Optimized Dithering Mechanism using JavaIt improved the imaging core with less resource consumption and more efficiency as compared to any of its predecessors. The dithering process is now more optimized and predictable. Moreover, it also includes setting auto layout scaling & much more.
By: Aspose Aspose development team is pleased to announce the new release Aspose.Imaging for Java 2.9.0. Aspose.Imaging for Java API has improved the imaging core for performance considerations by converting the internal structure to utilize the byte array instead of the com.aspose.imaging.Color array. With these changes in place, the latest revision is less resource consuming and more efficient as compared to any of its predecessors. Previously, the imaging core used the com.aspose.imaging.Color array to store the pixel information due to which each pixel had to occupy 24 bytes in the memory. This schema proved to be the performance bottleneck in scenarios where images having huge dimensions have to be processed because image required more memory to process and hence more time to flush the data. Most of the CAD drawings have more than one layouts stored in a single file, and each layout could have different dimensions. While rendering such CAD drawings to PDF, each page of the PDF could have different scaling according to the layout size. In order to make the rendering homogeneous, the Aspose.Imaging APIs have exposed the CadRasterizationOptions.AutomaticLayoutsScaling property. Its default value is false but when set to true, the API will try to search for a corresponding scale for each separate layout and draw them in corresponding manner by performing automatic re-size operation according to page size. Please check the article on Customizing CAD Conversion for more details and source code snippets for this feature. The dithering process is now more optimized and predictable. All developers need to do is use the newly exposed RasterImage.Dither method instead of creating & setting DitheringSettings and RawDitheringMethod properties is used to do with previous revisions of Aspose.Imaging for Java API. Upon calling the RasterImage.dither method the dithering is performed right in-place and users can then review the dithered results by loading pixels or raw data. In order to facilitate the users and to avoid the miss-configuration of the TiffOptions instance, the Aspose.Imaging for Java API has exposed another constructor for that TiffOptions class that accepts a parameter of type TiffExpectedFormat. Based on the selected value from the TiffExpectedFormat enumeration, the API auto configures all the mandatory properties for the TiffOptions instance in order to produce the desired results. Please check the possible values of TiffExpectedFormat parameter and their details at TiffOptions’ · Compression Schemes for PNG File Format · Add support of multiline object during Cad -> Pdf export · Jpeg2000 support · Auto Correct the Orientation of a JPEG Image · TiffImageException: · Setting isTemporal to true causes 0 size file · Watermark corrupts image data · Incorrect palette for dithered GIF images · FrameOptions.Orientation returns the same value before and after performing the rotation · Conversion of Jpeg to Tiff results in black image · Incorrect crop result of png image. · Loading JPEG image throws System.IndexOutOfRangeException · Optimize dithering process · Re-saving the TIFF image with Jpeg Compression renders the result in strange colors · Re-saving the TIFF image with default settings renders in black n white · Incorrect TIFF is produced after reloading · CAD to PDF renders blank page with CadRasterizationOptions.Layouts all layouts of the DWG · CAD to PDF does not render everything from the CAD layout to PDF Newly added documentation pages and articles Some new tips and articles have now been added into Aspose.Imaging for Java documentation that may guide users briefly how to use Aspose.Imaging for performing different tasks like the followings. - Customizing CAD Conversion: http://www.aspose.com/ - Specifying Bit Depth for PNG Images: http://www.aspose.com/ Overview: Aspose.Imaging for Java Aspose.Imaging for Java is an image processing & manipulation component that allows developers to create, edit, draw or convert images in their Java application. It allows developers to convert images to BMP, JPEG, TIFF, GIF, PNG & PSD formats. It draws images using advanced features like Graphics & GraphicsPath. The drawing feature is useful for adding shapes, building up new images or adding watermarks to images. It works well with both web & windows applications. It supports JDK 1.5 & above. More about Aspose.Imaging for Java - Homepage of Aspose.Imaging for Java: http://www.aspose.com/ - Download Aspose.Imaging for Java: http://www.aspose.com/ Contact Information Aspose Pty Ltd Suite 163, 79 Longueville Road Lane Cove, NSW, 2066 Australia http://www.aspose.com/ sales@aspose.com Phone: 888.277.6734 Fax: 866.810.9465 End
|
| ||||||||||||||||||||||||||||||||||||||||||