Aspose.Imaging for Java 22.9 - Release notes
Contents
[
Hide
]
Competitive features:
- Add support for Icon File (.ico) file format
- Add Apple MakerNote tags parsing
Key | Summary | Category |
---|---|---|
IMAGINGJAVA-8231 | Add support for Icon File (.ico) file format | Feature |
IMAGINGJAVA-8209 | Add Apple MakerNote tags parsing | Feature |
IMAGINGJAVA-8213 | Cannot compress particular SVG image | Enhancement |
IMAGINGJAVA-8212 | Cannot save particular SVG image | Enhancement |
IMAGINGJAVA-8210 | BMP loading bug | Enhancement |
IMAGINGJAVA-8208 | Exception on reading EPS image size | Enhancement |
IMAGINGJAVA-8207 | CDR to PDF conversion issue | Enhancement |
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());
}