Thumbnail Creation & Support for Image Cropping in Aspose.Imaging for .NET 2.3.0

Share on FacebookTweet about this on TwitterShare on LinkedIn

Aspose.Imaging 2.3.0 has been released and we are pleased to announce that this month’s release contains many useful improvements and features. You can download the latest release of Aspose.Imaging from the download section.

Here is a look at a few of the biggest features in this month’s release. For a full list of bug fixes and improvements please refer to the download pages in the link above.

Thumbnail Creation for JPEG Images

A thumbnail is a small copy of an image mostly used for recognition purposes when more images are stored in a library. Usually, when the image is shot with a digital camera, the thumbnail information is stored in the image metadata and can be retrieved through imaging libraries such as Aspose.Imaging for .NET API. With this release, Aspose.Imaging has provided a convenient mechanism to extract the thumbnail information from the image metadata.

Support for Image Cropping

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 the Crop method available based on two different approaches as discussed below,

  • Shift Mode: One of the overloads accepts 4 integer parameters denotes as Left, Right, Top and Bottom. Based on these values, the Crop method shrinks the image boundaries toward the center of the image while discarding everything outside the boundaries.
  • Rectangle Mode: As the name suggests, this mechanism can be used to highlight a particular area by cutting it out of the image. The area should be defined using an instance of the Rectangle class and passed to the other overload of the Crop method.

Export Specific Layout in DXF Drawing to PDF

Prior to Aspose.Imaging for .NET 2.3, the API facilitated exporting a specific layer of the AutoCAD DXF drawing to PDF format. With this release Aspose.Imaging adds another exciting feature that allows you to select a layout from a DXF drawing, and export it to PDF.

As always we appreciate your feedback so if you ever have anything to tell us about this release or anything else, please head to the Aspose.Imaging forum for a chat.