We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Tiff to png not conversion issue

Hello Aspose Support,

We have Aspose License version of Aspose.Imaging for Java(aspose-imaging-17.9-jdk16.jar).
We are trying to convert tiff image to png file. But its not converting as expected. Getting black background in converted png image and font color getting white , result not matching with tiff file.
tiff image and converted png image enclosed here.

Code :
TiffImage multiImage = (TiffImage) Image.load(tiff);
for (TiffFrame tiffFrame : multiImage.getFrames())
PngOptions pngOptions = new PngOptions();
tiffFrame.save(pngFile, pngOptions);

TIFF To Png conversion issue.zip (13.7 KB)

Nitin Chopkar


You are using a very old product version and I suggest you to please try using latest Aspose.Imaging 21.8 as I have not been able to reproduce the issue using that.

Exported_1.png (1.6 KB)