Browse our Products

Aspose.Imaging for Java 22.9 - Release notes

Competitive features:

  • Add support for Icon File (.ico) file format
  • Add Apple MakerNote tags parsing
KeySummaryCategory
IMAGINGJAVA-8231Add support for Icon File (.ico) file formatFeature
IMAGINGJAVA-8209Add Apple MakerNote tags parsingFeature
IMAGINGJAVA-8213Cannot compress particular SVG imageEnhancement
IMAGINGJAVA-8212Cannot save particular SVG imageEnhancement
IMAGINGJAVA-8210BMP loading bugEnhancement
IMAGINGJAVA-8208Exception on reading EPS image sizeEnhancement
IMAGINGJAVA-8207CDR to PDF conversion issueEnhancement

Public API changes:

Added APIs:

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

Removed APIs:

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

Usage Examples:

IMAGINGJAVA-8231 Add support for Icon File (.ico) file format

try (Image image = Image.load("icon-24bit.ico"))
{
    image.save("result.png", new PngOptions());
}

IMAGINGJAVA-8213 Cannot compress particular SVG image

try (Image image = Image.load("input.svg"))
{
    image.save("output.svgz", new SvgOptions() {{ setCompress(true); }});
}

IMAGINGJAVA-8212 Cannot save particular SVG image

try (Image image = Image.load("input.svg"))
{
    image.save("output.svg");
}

IMAGINGJAVA-8210 BMP loading bug

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

IMAGINGJAVA-8209 Add Apple MakerNote tags parsing

HashMap<String, String> dict = new HashMap<String, String>();
try (JpegImage image = (JpegImage) Image.load("input.jpeg"))
{
	JpegExifData jpegExifData = image.getExifData();
	if (jpegExifData != null)
	{
		MakerNote[] makerNotes = jpegExifData.getMakerNotes();
		if (makerNotes != null)
		{
			for (MakerNote makerNote : makerNotes)
			{
				dict.put(makerNote.getName(), makerNote.getValue());
			}
		}
	}
}

// Do something with dict

IMAGINGJAVA-8208 Exception on reading EPS image size

try (Image img = Image.load("62.eps"))
{
   Size s = img.getSize();
}

IMAGINGJAVA-8207 CDR to PDF conversion issue

String baseFolder = "D:\\";
String inputFile = baseFolder + "zweedsloopspel jungle.cdr";
try (Image image = Image.load(inputFile))
{
    image.save(inputFile + ".pdf", new PdfOptions());
}