• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
  • paul wheaton
  • Tim Cooke
  • Devaka Cooray
  • Rob Spoor
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin

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

Ranch Hand
Posts: 714
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What is 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.

- Converting CAD Drawings to Raster Image Formats
- Exporting DXF AutoCAD Drawings to PDF

Overview: Aspose.Imaging for Java

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 Java

- Homepage for Aspose.Imaging for Java
- Download Aspose.Imaging for Java
- Online documentation of Aspose.Imaging for Java
- Demos of Aspose.Imaging for Java

Contact Information

Aspose Pty Ltd
Suite 163, 79 Longueville Road
Lane Cove, NSW, 2066
Aspose - Your File Format Experts
Phone: 888.277.6734
Fax: 866.810.9465
Our first order of business must be this tiny ad:
a bit of art, as a gift, the permaculture playing cards
    Bookmark Topic Watch Topic
  • New Topic