Browse our Products

Aspose.Imaging for Java 22.12 - Release notes

Competitive features:

  • Speed up create method in Aspose.Imaging
KeySummaryCategory
IMAGINGJAVA-8293Speed up create method in Aspose.ImagingFeature
IMAGINGJAVA-8325Dynamic loading not works for conversion to dicomEnhancement
IMAGINGJAVA-8314Fix memory leak when save tiffframes to MemoryStreamEnhancement
IMAGINGJAVA-8313Incorrect convertion from svg to pngEnhancement
IMAGINGJAVA-8312Specific cdr image to pdf conversionEnhancement
IMAGINGJAVA-8308Cannot load the CDR imageEnhancement
IMAGINGJAVA-8304SVG to PNG, output image distortedEnhancement
IMAGINGJAVA-8302Incorrect export Tiff -> Pdf with compression PdfImageCompressionOptions.Ccitt4Enhancement
IMAGINGJAVA-8301WebP export failureEnhancement
IMAGINGJAVA-8292Specific tiff image to pdf conversionEnhancement
IMAGINGJAVA-8288Fix partial Pdf processing on exportEnhancement

Public API changes:

Added APIs:

Please see corresponding cumulative API changes for Aspose.Imaging for .NET 22.12 version

Removed APIs:

Please see corresponding cumulative API changes for Aspose.Imaging for .NET 22.12 version

Usage Examples:

IMAGINGJAVA-8325 Dynamic loading not works for conversion to dicom

try (Image image = Image.load("input.tiff")
{
    image.save("dicom.dcm", new DicomOptions());
}

IMAGINGJAVA-8314 Fix non-permanent bug

try (TiffImage image = (TiffImage)Image.load("input.tiff")
{
    for (TiffFrame f : image.getFrames())
    {
        try (ByteArrayOutputStream ms = new ByteArrayOutputStream())
		{
			f.save(ms, f.getFrameOptions());
		}
	}
}

IMAGINGJAVA-8313 Incorrect convertion from svg to png

String fileName = "D:\\1.svg";
try (Image image = Image.load(fileName))
{
    image.save(fileName + ".png");
}

IMAGINGJAVA-8312 Cannot conver the CDR image to PDF format

try (Image image = Image.load("D:\\100 kva  GR JAMMU.cdr"))
{
    image.save("D:\\100 kva  GR JAMMU.cdr.png");
}

IMAGINGJAVA-8308 Cannot load the CDR image

try (Image image = Image.load("D:\\03-08-2022 ADVERTISEMENT FINAL.cdr"))
{
    image.save("D:\\03-08-2022 ADVERTISEMENT FINAL.cdr.cdr.png");
}

IMAGINGJAVA-8304 SVG to PNG, output image distorted

String fileName = "D:\\Input.svg";
try (Image image = Image.load(fileName))
{
    image.save(fileName + ".png");
}

IMAGINGJAVA-8302 Incorrect export Tiff -> Pdf with compression PdfImageCompressionOptions.Ccitt4

try (Image image = Image.load("input.tif")) {

    PdfOptions exportOptions = new PdfOptions();
    PdfCoreOptions pdfCoreOptions = new PdfCoreOptions();
    pdfCoreOptions.setCompression(PdfImageCompressionOptions.Ccitt4); // black&white as original
    exportOptions.setPdfCoreOptions(pdfCoreOptions);

    image.save("out.pdf", exportOptions);
}

IMAGINGJAVA-8301 WebP export failure

String fileName = "input.webp";
try (Image image = Image.load(fileName))
{
    image.save("output.webp");
}

IMAGINGJAVA-8293 Speed up create method in Aspose.Imaging

try (TiffImage image = (TiffImage)Image.load("input.tiff")
{
    for (TiffFrame f : image.getFrames())
    {
        try (ByteArrayOutputStream ms = new ByteArrayOutputStream())
		{
			f.save(ms, f.getFrameOptions());
		}
	}
}

IMAGINGJAVA-8292 Cannot convert the TIFF image to PDF

try (Image image = Image.load("103_1.tif"))
{
    image.save("103_1.tif.pdf", new PdfOptions());
}

IMAGINGJAVA-8288 Fix partial Pdf processing on export

try (Image image = Image.load("D:\\151.tif"))
{
    image.save("D:\\151.pdf");
}