Browse our Products
Aspose.Imaging for Java 23.11 - Release notes
Competitive features:
- Implement support text styles italic/underline in CDR format
Key | Summary | Category |
---|---|---|
IMAGINGJAVA-8584 | Implement support text styles italic/underline in CDR format | Feature |
IMAGINGJAVA-8583 | Failed to open CMX file | Enhancement |
IMAGINGJAVA-8577 | Converting the Png to Psd issue | Enhancement |
IMAGINGJAVA-8559 | SVG to PNG conversion issues | Enhancement |
IMAGINGJAVA-8556 | Cannot convert the CMX image to PNG | Enhancement |
IMAGINGJAVA-8555 | Emf file not correctly converted to png | Enhancement |
IMAGINGJAVA-8554 | System.NullReferenceException while converting particular CDR to PNG | Enhancement |
Public API changes:
Added APIs:
Please see corresponding cumulative API changes for Aspose.Imaging for .NET 23.11 version
Removed APIs:
Please see corresponding cumulative API changes for Aspose.Imaging for .NET 23.11 version
Usage Examples:
IMAGINGJAVA-8584 Implement support text styles italic/underline in CDR format
String baseFolder = "D:\\";
FontSettings.setFontsFolder(baseFolder + "Fonts");
try (Image image = Image.load(baseFolder + "Test.cdr"))
{
image.save(baseFolder + "Test.cdr.jpg");
}
IMAGINGJAVA-8583 Failed to open CMX file
String baseFolder = "D:\\";
String fileName = "FINALIZADO.cmx";
String inputFileName = baseFolder + fileName;
String outFileName = inputFileName + ".png";
try (Image image = Image.load(inputFileName))
{
image.save(outFileName);
}
IMAGINGJAVA-8577 Converting the Png to Psd issue
try (Image image = Image.load("IMG_20230628_212247_219.png"))
{
image.save("result.psd");
}
IMAGINGJAVA-8559 SVG to PNG conversion issues
String baseFolder = "D:\\";
String fileName = "OSHARED-23428.svg";
String inputFileName = baseFolder + fileName;
String outFileName = inputFileName + ".png";
try (Image image = Image.load(inputFileName))
{
image.save(outFileName, new PngOptions());
}
IMAGINGJAVA-8556 Cannot convert the CMX image to PNG
try (Image img = Image.load("D:\\image.CMX"))
{
img.save("D:\\result.jpg");
}
IMAGINGJAVA-8555 Emf file not correctly converted to png
String baseFolder = "D:\\";
String fileName = "picture-89c3d48cc4874177a54eb3e2ec94b5fd.emf";
String inputFilePath = baseFolder + fileName;
String outputFilePath = inputFilePath + ".png";
try (Image image = Image.load(inputFilePath))
{
image.save(outputFilePath, new PngOptions());
}
IMAGINGJAVA-8554 System.NullReferenceException while converting particular CDR to PNG
String baseFolder = "D:\\cdr\\";
String fileName = "Panasonic_Digital_4_C2C.cdr";
String inputFilePath = baseFolder + fileName;
String outputFilePath = inputFilePath + ".png";
try (CdrImage image = (CdrImage) Image.load(inputFilePath))
{
image.save(outputFilePath, new PngOptions());
}