What is new in this release?
Aspose development team is pleased to announce the new release
Aspose.Imaging for Java 2.4.0. This new release supports the long awaited feature for loading DWG files for conversion to PDF format. Currently we support reading AutoCAD 2004 DWG (version 16.0 Release 18) format only. We will add more DWG revisions with future releases of Aspose.Imaging APIs whereas the support for DWG 2005 and 2010 are on the top of our priority list. DWG to PDF conversion uses the PdfOptions class to specify the resultant PDF page size, and additional settings such as which Layout to render, BackgroundColor, DrawType and ScaleMethod. These properties have to be set before calling the Image.Save method for converting DWG to PDF format. The TIFF file format stores data in strips. When a few strips are damaged, other strips may still retain the correct information, therefore it is possible to recover the correct data strips by filling the damaged strips with a background color. The data recovery module offered by Aspose.Imaging allows the user to retrieve the correct data portions (strips) in a similar fashion. In order to assist the users, Aspose.Imaging provides two data recovery modes, ConsistentRecover and MaximalRecover, which provide different results depending on the user’s data recovery needs. Aspose.Imaging provides dithering support for the RasterImage class by introducing the DitheringSettings property. The DitheringMode class, now available in the com.aspose.imaging.dithering package, specifies the dithering to be applied. Another exciting feature that is now available for public use is Raw Data Processing. Prior to 2.4.0, Aspose.Imaging used Color[] to internally store data. This approach had issues. First of all, an array of structs affected the performance during copy operations. Secondly, the Color struct required more memory for data storage because the API had to store additional system information together with 4 bytes of data. With this release, we have partially switched the internal structure to use byte[] instead Color[] in order to assist developers in getting the best performance out of Aspose.Imaging API. At the moment this system has been introduced for BMP file format only, but soon all other image formats will be supported too. Aspose.Imaging has exposed additional properties to add thumbnails to EXIF and JFIF data segments of JPEG images. Both types of segments can store only 65,535 bytes of data including the thumbnail image according to the JPEG specifications, therefore Aspose.Imaging API will throw appropriate exception in case the added image is bigger than the specified limit. Aspose.Imaging now provides the long awaited feature of image cropping for the RasterImage class by introducing the crop method. There are two overload versions of thecrop method available based on two different approaches, Shift Mode and Rectangle Mode. The main new and improved features added in this release are listed below
- Supported Autocad 2004 Dwg format
- Data recovery for Tiff
- Jpeg file format support
- Investigate .DWG (AutoCAD drawings) conversion to PDF
- Dithering support
- Support CompactPalette property for the IColorPalette interface
- [Dxf to Pdf] Export of only specified layers
- Request for Image Cropping Facility
- [Cad to Pdf] Add support for text rotation angle for dimension objects
- Expose Jpeg features
- Add thumbnail support to JFIF and EXIF
- [Cad to Pdf] Add support for invisible objects
- Publish PdfOptions.Layout property
- [Dwg to Pdf] Add support of rendering of specified layout
- [
Java] Conversion of EMF to all Raster Image Formats
- Customer wants to convert 32bpp TIF sources to CCITT4 1bpp grayscale TIF
- [Dxf to Pdf] Fix missed labels on dimension objects.
- [Dxf to Pdf] Implement support of different linetypes for existing entities.
- An empty png image is generated when resized
- [Dxf to Pdf] Fix problem with closed polylines
- ImageSaveException: The stream reader has passed over the data boundary. The data is corrupt
- Tiff created with Aspose.Imaging does not render properly in IrfanView and ACDsee
- Incorrect file format on Image.GetFileFormat
- Infinite execution on openning gif-image
- ImageLoadException: Malformed exif section at Image.Load
[Dxf to Pdf] Support for metric units rendering for all dimensions
- [Cad to Pdf] Fix bug with ellipses with start and end angles.
- Investigate and fix special aligned dimension rendering
- Improve rendering of text entity
- Gif image lost transparent color value after saving
ArgumentException: Parameter is not valid, at RotateFlip
- Image Saving Failed: while merging Tiff images
- Fail to save gif after load
- Fix null reference exception during loading DXF file with old header
- Dithering algorithm sometimes produces animanted gif-s with blinks due to wrong transparent color processing.
- [Dxf to Pdf] Parse custom visibility parameter for insert object
- [Cad to Pdf] Fix bug with additional text for MTEXT entity
- Fix bug with changing of line width inside insert
- Fix bugs with damaged files during Cad->Pdf export
- Text in AttribDef object must be unvisible.
[Cad to Pdf] Implement adjustments for ATTDEF objects
- Add support for underline text rendering for multitext entity
- ImageLoadException: Image loading failed while loading a Tiff image
- Improve colorization and interval between lines
- ImageLoadException: Image loading failed while loading a Tiff Image
- Merging TIFFs results in IFD alignment failure
- [Cad to Pdf] Hatch object is absent on a drawing
- Moving public members to internal - should not be accessible via public api
- Saved JPEG images differ from source images
- JpegImage.LoadPixels throws System.Exception: Unexpected marker
- JpegImage.LoadPixels throws System.IndexOutOfRangeException
- Metadata segments allow to write thumbnails big enough to overap upper size boundary of jpeg segment.
- Process hangs when opens Tiff file
- Moving internal members to public - should be accessible via public api
- Re-sizing a PNG results in a Blank Image
- ImageLoadException: Image loading failed while loading a Multi-Page Tiff
- ImageLoadException: Image loading failed while loading a multi-page Tiff image
- [Dxf to Pdf] Rotated texts fix
- I[Cad to Pdf] Fix viewports rendering
- Cannot encode large tiff image correctly using CCITT scheme
- [Cad] Remove Cad special data types (such as CadShortParameter)
- Support for bmp raw data processing
- Exception while exporting the Jpeg to Tiff: "An attempt was made to move
- the position before the beginning of the stream."
- ImageLoadException was thrown for images that have Jpeg encoding for tiff frames
- EMF to PNG, the background color has changed in the resultant PNG image
- Improved memory usage for resizing a large Jpeg image
- Incorrect rendering of an EMF image
- The export to pdf does not work as expected
- Data recovery for tiff does not work
- Incorrect conversion of WMF to PNG
- java.lang.OutOfMemoryError: Java heap space, while converting EMF files to PNG
- ImageLoadException: Unable to read file. Exception:Cannot read 2 bytes from stream, while loading Aspose.Pdf's generated TIFF
- TiffImage cannot be reloaded properly after save
- Implement support for META_ESCAPE_ENHANCED_METAFILE records in WMF file
- FileNotFoundException: \home\nick\brush0 at WmfMetafileImage ctor
- Image having EXIF information returns null
- Improve Aspose watermark drawing performance on big PNG images
- [Java] Unable to read EXIF data from JPEGd
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 DWG AutoCAD Drawings to PDF
- Adding Thumbnails to JFIF and EXIF Segments of JPEG 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
- Demos of Aspose.Imaging for Java
Contact Information
Aspose Pty Ltd
Suite 163, 79 Longueville Road
Lane Cove, NSW, 2066
Australia
Aspose - Your File Format Experts
[email]
[email protected][/email]
Phone: 888.277.6734
Fax: 866.810.9465