Free Support Forum - aspose.com

Pdf to image conversion is not faithful reproduction

We have bought Aspose license to mainly convert various documents into series of images. One among them being PDF. We use pdf.kit for Java - latest version 4.5


We convert the pdf pages to JPEG images simply using
PdfConverter.getNextImage(filePath, com.aspose.pdf.kit.ImageType.JPEG);

Unfortunately the rendered JPEG files don’t satisfy our quality requirement. For an example, compare the attached pdf with associated jpeg images rendered using the above function. As you can see, the jpeg images don’t represent actual colors and even misses some graphical information in case of page 1.

We tried rendering PDF into another format like PNG but that did not solve the issue and results were exactly same as ones with JPEG

I was wondering what can we do (if anything) to improve the quality of the image so they are more faithful to source pdf

Thank you


Hi Prashant,


Thanks
for using our products.<o:p></o:p>

I have tested the scenario and I am able to reproduce the same problem. For the sake of correction, I have logged it in our issue tracking system as PDFKITJAVA-33310. We will investigate this issue in details and will keep you updated on the status of a correction.

We apologize for your inconvenience.