Resize SVG Images using C# and Java

Hi guys! I am pleased to share release announcement for Aspose.Imaging 19.11, which has been enhanced with new features including support for resizing SVG Images and monitoring document conversion progress. One of the best things about Aspose team is that it publishes both .NET and Java APIs simultaneously every month. This way users of both APIs can use the newly added features simultaneously.

In the following sections, I am going to give you a walk through of new features and enhancements made in API.

Resize SVG using C# and Java

SVG is a Scalable Vector Graphics file format and utilizes XML based content to depict the graphics. The SVG file format can be scaled to various sizes without affecting the quality as the content is utilized to render the graphics in the image. In other words, SVG format is independent of resolution. For this purpose a new method resize has been added in Aspose.Imaging that can be used to get the desired dimension size for SVG files.

The following example demonstrate use of this feature:

The similar Java based implementation is as under:

Support for Document Conversion Progress

Some times, you work with large image files and when rendering such files to other format there is a long wait depending on size of file to complete rendering process. In such circumstances, it is very convenient to determine the progress of the conversion as it can be useful when if you intend to show some status to the end user regarding conversion process. For this purpose a new property ProgressCallback has been added in Aspose.Imaging.

The following examples demonstrate use of this feature:

The similar Java based implementation is as under:

Hold on, there are many other features, enhancements, and bug fixes included in this release. You can refer to our Release Notes section to get more details.

When time allows you can also check out ready made examples at Github. You may also talk about this release and other API related issues in our product support forum.