• 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
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

Expand/Crop Images, Export PSD Layers to Raster Images & CAD Layouts to PDF using Java

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 3.2.0. . This release allows you to use Bradley’s threshold algorithm during image conversion and define settings to expand or crop the image. Support to export PSD layers to raster images, CAD file to PDF format and font folder setting while converting DXF files has also been incorporated in this release. Using Aspose.Imaging for Java, developers can specify the font folder path used while converting CAD (DXF) files. Aspose.Imaging has introduced the functionality to use Bradley’s threshold algorithm during process of image conversion. Using Aspose.Imaging, developers can expand or crop an image during image conversion process. Code snippet on the blog announcement page demonstrating how Rectangle class can be used to crop or expand raster images. Using Aspose.Imaging, developers can convert PSD layers to PNG, JPEG and TIFF images. Code snippet on the blog announcement page demonstrating how PSD layers can be converted to PNG image. Aspose.Imaging provides functionality to export CAD to PDF file format. save method of the CadImage class can be used to export to PDF format. Initialize the CadRasterizationOptions class, define the type of entities using com.aspose.imaging.ImageOptions.TypeOfEntities class and set the layout(s) that you want to export. There are some important enhancements incorporated in this release, such as StreamContainer, FileStreamContainer and TiffStreamFactory classes are now public for developers, Functionality of ExifData with NULL properties has been improved, Read/Loading process has been improved for TIFF images, DWG to PDF functionality has been improved, DXF to raster images functionality has been improved, Process of handling large size images in memory has been improved. Maintaining image quality while resizing has been improved and TIFF to JPEG conversion process have been improved. The main new and improved features added in this release are listed below

- Converting WMF to PNG format producing low quality png images and some time totally blank images [Java]
- Support FontSettings for CAD formats.IMAGING-34971 Support for embedded external images for dwg/dxf
- Implementation of Bradley thresholding
- Allow crop or expand for images when they exported to raster file formats
- Export PSD layer(s) to a raster image(s) via file path location and stream
- Support export of CAD drawing as image embedded into PDF file
- Expose useful tiff classes and stream classes to public
- Only contiguous planar configuration is supported at the moment exception when trying to loading a tiff image
- Could not update EXIF data with null properties
- Psd image saving throws System.IndexOutOfRangeException: Index was outside the bounds of the array.
- IExporting DWG Drawing to PDF produces invalid results
- Incorrect dimensions returned for certain DXF
- Converting DxF file to png or tiff, resulting in an empty output file.
- FrameworkException: Cannot allocate image in memory. Image size exceeds memory size, at Image.Resize
- Error in documentation/implementation for Aspose.Imaging for Save() method for PSD with concrete PsdOptions specified
- Empty PSD file after Save() source PSD without max compatibility with CompressionMethod.Raw
- PSD layers in result file lost after Save() call with CompressionMethod.Raw
- Drawing a PNG with transparent background on another image results in a black block
- Colors change when TIFF is converted to JPEG with default settings
- Improve tiff loading performance

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.

- Exporting CAD Layouts to PDF
- Expand and Crop Images

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

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
    Bookmark Topic Watch Topic
  • New Topic