Quantcast
Channel: CodeProject Latest postings for Press Releases
Viewing all articles
Browse latest Browse all 1163

Resize Images Proportionally & CAD Drawings to PNG BMP TIFF JPEG & GIF Conversion

$
0
0

What’s new in this release?

Aspose development team is pleased to announce the new release Aspose.Imaging for Java 2.6.0. This release contains many useful improvements, including the long awaited feature of AutoCAD drawings to raster image conversion. Aspose.Imaging for Java API now supports the conversion of CAD drawing formats such as DXF & DWG to raster image formats such as PNG, BMP, TIFF, JPEG and GIF. Aspose.Imaging for Java API has exposed the VectorRasterizationOptions and CadRasterizationOptions classes to the com.aspose.imaging.ImageOptions package that serve an efficient and easy to use interface for CAD to Raster Image Conversion. Aspose.Imaging APIs already support the feature of re-sizing existing images by passing the new height & width values as parameters to the Image.resize method but in that case the user had to calculate the aspect ratio himself. This is because when the width or height of an image is altered, the image either scales or shrinks to fill the new size. If the changes to the width and height of an image are not in proportion this could lead to stretched and distorted result. Aspose.Imaging for Java 2.6.0 has also exposed overload versions of the resizeWidthProportionally and resizeHeightProportionally methods that can accept ResizeType as second parameter to achieve desired results. An important point to note is that if you intend to get quality result after applying the re-size then it is suggested that you should always use ResizeType.LanczosResample because it will output highly qualitative results but may work slower than ResizeType.NearestNeighbourResample. On the other hand, ResizeType.NearestNeighbourResample algorithm is specifically used for fast re-sizing while compromising on the image quality. This method may be useful for thumbnail generation in real time or similar processes where performance is required. The main new and improved features added in this release are listed below

  • CAD to Raster Image Conversion
  • Resize Images Proportionally
  • EmfPen incorrectly renders line width
  • com.aspose.imaging.internal.Exceptions.ArgumentException: Value does not fall within the expected range at Image.rotateFlip for PNG format
  • IWmfMetafileImage throws java.lang.IllegalArgumentException: Width (0) and height (0) cannot be <= 0
  • Aspose.Metafiles ignore brush pattern in raster opperations (EMR_STRETCHDIBITS record)
  • Aspose.Metafiles ignore logical brushes (EMR_CREATEBRUSHINDIRECT record)
  • Aspose.Metafiles ignores the text quality value (EMR_EXTCREATEFONTINDIRECTW record)
  • Aspose.Metafiles ignore logical brushes (EMR_CREATEBRUSHINDIRECT record)
  • Application hangs while resizing a small Gif Image
  • ImageLoadException: Image loading failed at loading a Multi-Page Tiff
  • ImageLoadException: Image loading failed. Aspose.Imaging cannot load a Tiff generated with Aspose.Words for Java
  • Conversion from PNG to JPEG renders the transparent area to black
  • Setting the Brush Color does not seem to Take Effect when used to Draw String

Newly added documentation pages and articles

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

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

Contact Information

Aspose Pty Ltd

Suite 163, 79 Longueville Road

Lane Cove, NSW, 2066

Australia

Aspose - Your File Format Experts

sales@aspose.com


Phone: 888.277.6734

Fax: 866.810.9465


Viewing all articles
Browse latest Browse all 1163


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>