Set Auto Layout Scaling & BitDepth for PNG Image Format inside .NET Apps

It enables .NET developers to set the BitDepth for existing as well as new PNG images. It also supports setting auto layout scaling when rendering CAD drawings. This new release has also made some important improvements, e.g. enhanced image loading
By: Aspose
 
LANE COVE, Australia - May 26, 2015 - PRLog -- What's New in this Release?

We are pleased to announce the new release of Aspose.Imaging for .NET 2.9.0.  Bit depth in imaging is the number of bits used to indicate the color of a single pixel in a bitmap image. Like all other bitmap formats, PNG color depth is also represented in bits such as 1-bit (2 colors), 2-bit (4 colors), 4-bit (16 colors) and 8-bit (256 colors). Aspose.Imaging for .NET API has exposed a very easy to use mechanism to set the BitDepth for existing as well as new PNG images. With the release of version 2.9.0, the API has provided the BitDepth property for the PngOptions class that can be used to set the BitDepth as 1, 2, 4 or 8 bits for gray-scale and indexed color types, whereas, for all other color types only 8 bits are supported at the moment. 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. Aspose.Imaging for .NET 2.9.0 has also made some important improvements, such as enhanced the image loading & saving mechanism of JPEG, BMP & GIF file formats, improved the CAD loading mechanism for head-less CAD drawing files and provided support for TIFF files having PackBits compression. The main new and improved features added in this release are listed below

·         Tiff image loading throws FrameworkException

·         Incorrect Raster image saving work when created image width is lover than 125 px

·         Gif export is very slow

·         Export of bmp to gif hangs

·         Improve performance of JPEG saving

·         Improve performance of JPEG loading

·         Implement autoscaling for layout pages

·         Support CAD files with no proper header defined

·         ImageLoadException: Error in Layers, while loading certain DXF file

·         ImageLoadException: Cannot open an image. The image file format may be not supported at the moment, while loading a certain DXF

·         ImageLoadException: Cannot open an image. The image file format may be not supported at the moment." while loading a certain DXF

·         TIFF Codec does not support PackBits compression method

·         Converting images to PNG 1 bpp

Newly added documentation pages and articles

Some new tips and articles have now been added into Aspose.Imaging for .NET documentation that may guide you briefly how to use Aspose.Imaging for performing different tasks like the followings.

-          Specifying Bit Depth for PNG Images: http://www.aspose.com/docs/display/imagingnet/Specifying+Bit+Depth+for+PNG+Images

-          Customizing CAD Conversion: http://www.aspose.com/docs/display/imagingnet/Customizing+CAD+Conversion

Overview: Aspose.Imaging for .NET

Aspose.Imaging for .NET is an image processing & manipulation component that allows developers to create, edit, draw or convert images in their .NET application. It allows developers to convert image files to PSD, BMP, JPEG, PNG, TIFF and GIF formats. Moreover a set of pens, brushes and fonts can be used to draw images or add new elements & text to existing images. Aspose.Imaging for .NET works well with both web & windows applications. Moreover, it adds the support for Silverlight platform.

More about Aspose.Imaging for .NET

- Homepage of Aspose.Imaging for .NET: http://www.aspose.com/.net/imaging-component.aspx

- Download Aspose.Imaging for .NET: http://www.aspose.com/community/files/51/.net-components/aspose.imaging-for-.net/default.aspx

- Online documentation Aspose.Imaging for .NET: http://www.aspose.com/docs/display/imagingnet/Home

- Demos of Aspose.Imaging for .NET: http://www.aspose.com/demos/.net-components/aspose.imaging/default.aspx

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

Contact
Sher Azam
***@aspose.com
End
Aspose Pty Ltd. PRs
Trending News
Most Viewed
Top Daily News



Like PRLog?
9K2K1K
Click to Share