Quantcast
Channel: Aspose.Pdf Product Family
Viewing all articles
Browse latest Browse all 3131

On converting PDF to PNG, color of images appear different from original.

$
0
0
Hi,
I am using aspose-pdf-10.3
We are converting PDF to PNG images.
In context of the attached PDF, the color of the second image on Page 1 appears different that the original.

Here's the code snippet:
..
PngDevice pngDevice = new PngDevice(resolution);
pngDevice.process(pdfDocument.getPages().get_Item(pageIndex), imageStream);
.....

Can you please verify this issue.

Attached source PDF & problematic image.

Thanks,
Jaspreet

Viewing all articles
Browse latest Browse all 3131

Trending Articles