EMF image saved as png image is not same as original image and bad in quality

We are using Aspose slide (java) to read .pptx files. When we save the .emf images in .pptx file as png image using the following code, the image generated is not same as the original emf image and is bad in quality.


if (s instanceof PictureFrame) {
PictureFrame pictureFrame =(PictureFrame) s;
BufferedImage image = pictureFrame.getPictureFormat().getPicture().getImage().getSystemImage();
ImageIO.write(image, “png”, new File(dataDirOut + slideNum+j + “.png”));
}

PFA. I have attached the actual emf file and generated png file.

PFA. Input PPT file containing emf image.


Appreciate a quick turn around on this as this is very critical for our business users.

Hi,


Thank you for your interest in Aspose.Slides.

I have observed your comments and like to request you to please share with us a sample application to reproduce the issue as well as the emf images which you are using in the presentation as png images. I will be able to proceed further once the requested data is shared by you.

Best Regards,