Hello,
After the last update, some EPS images are distorted after conversion to PNG:
images.zip (3.4 MB)
The code I’m using:
PsDocument document = new PsDocument("input.eps");
ImageSaveOptions options = new ImageSaveOptions();
options.setResolution(300);
options.setImageFormat(ImageFormat.PNG);
byte[] image = document.saveAsImage(options)[0];
File outputFile = new File("output.png");
try (FileOutputStream outputStream = new FileOutputStream(outputFile)) {
outputStream.write(image);
}
@ANDREA.FARRIS
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.
Issue ID(s): PAGEJAVA-283
You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.
@ANDREA.FARRIS
We have tested using 24.4 version of the API as it was re-deployed and we could not replicate the distortion issue. Outputs are also attached for your kind reference. Can you please confirm if you are still noticing the issue?
hamburger.png (102.3 KB)
pies.png (3.9 KB)
witch.png (100.6 KB)
Hi @asad.ai,
We have upgraded aspose.page version to 24.5 (the latest available) and we are still seeing distorted images. Could you please double check? We are using the same code snippet as provided above.
@ANDREA.FARRIS
Please allow us to investigate this further and we will let you know after doing the analysis.