AutoCAD DWG Drawings to PDF Conversion & Raw Data Processing using .NET


Well-known member
Mar 10, 2010
Programming Experience
What is new in this release?

We are pleased to announce the new release of Aspose.Imaging for .NET 2.4.0. We are proud to announce that this month?s release contains many useful improvements, including the long awaited feature of DWG AutoCAD Drawings to PDF conversion. With the release of 2.4.0, Aspose.Imaging for .NET supports loading DWG files for conversion to PDF format. Currently we support reading AutoCAD 2004 DWG (version 16.0 Release 18) format only, but will add more DWG versions with future releases of Aspose.Imaging APIs. DWG to PDF conversion uses the PdfOptions class to specify the output 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. 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. The main new and improved features added in this release are listed below

- DWG to Pdf conversion is now supported
- The BMP file format now supports raw data loading and processing of the BMP file format is now greatly improved.
- Add support of rendering of specified layout
- Add thumbnail support to JFIF and EXIF
- Parse custom visibility parameter for insert object
- Saved JPEG images differ from source images is now fixed
- [Cad] Remove Cad special data types is now fixed (such as CadShortParameter)
- [Cad to Pdf] Implement adjustments for ATTDEF objects
- Text in AttribDef object must be invisible.
- Add support for underline text rendering for multi-text entity
- Moving internal members to public - should be accessible via public api
- Moving public members to internal - should not be accessible via public api
- Process hanging is resolved when opens Tiff file
- Hatch object is absent on a drawing is now fixed
- Fix viewports rendering
- Improve colorization and interval between lines
- Exception is resolved while exporting the Jpeg to Tiff: "An attempt was made to move the position before the beginning of the stream."
- Fixed issues for encoding large tiff image correctly using CCITT scheme
- Metadata segments allow writing thumbnails big enough to overlap upper size boundary of jpeg segment.

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.

- Exporting DWG Drawings to PDF
- Raw Data Processing

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 for Aspose.Imaging for .NET
- Download Aspose.Imaging for .NET
- Online documentation of Aspose.Email for .NET
- Demos of Aspose.Imaging for .NET

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

Latest posts

Top Bottom