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

PDF to JPG

$
0
0

Greeting All,

Currently I have an application that converts a PDF to Image by using Aspose Total java.

I tried converting this using latest trial version

After converting image has good quality.

When I compare both PDF and generated JPG some colors and data are missing.

Here is my piece of code:

Document document = new Document(pdfFilePath);
OutputStream imageStream = new FileOutputStream(imageFileName);
JpegDevice device = new JpegDevice();
device.process(document.getPages().get_Item(count), imageStream);


Let me know what I missed?
Thank you for your time.

Srikanth


Viewing all articles
Browse latest Browse all 3131

Trending Articles