WMF to PNG conversion within Linux environment

Dear,

We are not getting the expected output of WMF to PNG conversion within ourimage39.zip (195.1 KB)
Linux environment.

I’ve attached wmf and converted png files, you will get issues there by comparing wmf image39.wmf and converted png file image39.png.

We were trying to follow Aspose.Imaging WMF To Png conversion not properly with no success.

Our Env:
Ubuntu Linux 18.04.4 LTS (GNU/Linux 5.4.0-1029-aws x86_64), running non root account
Microsoft Fonts installed
Licensed Aspose.Images (latest)
Code:

public byte[] convertWmfImage(byte[] input) {
Image img = Image.load(new ByteArrayInputStream(input));

ByteArrayOutputStream os = new ByteArrayOutputStream();

PngOptions pngOptions = new PngOptions();

VectorRasterizationOptions rasterizationOptions = new WmfRasterizationOptions();
rasterizationOptions.setPageWidth(img.getWidth());
rasterizationOptions.setPageHeight(img.getHeight());
pngOptions.setVectorRasterizationOptions(rasterizationOptions);
pngOptions.setCompressionLevel(0);
img.save(os, pngOptions);

return os.toByteArray();

}

@GregoryDBK

I have created an issue with ID IMAGINGJAVA-1979 in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be notified once the issue will be fixed.

Hello

It has been 7 days since the issue has been created.

Do you have any news for us?

BR
Gregory

@GregoryDBK

The issue has been created in recent times and is in progress at the moment for investigation. We request for your patience and will share the good news with you as soon as the it will rectified.

The issues you have found earlier (filed as IMAGINGJAVA-1979) have been fixed in this update.