These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

How to convert pdf to image (jpeg)

priscilla_leim
Registered: Jun 10 2008
Posts: 4
Answered

Hello,
To : anyone who can help me,

Can anyone teach me or give me some guideline how to convert pdf to image file using javascript that run on HTML page client side.

Not use third party software to convert...!
If have any source code will be better

Thank you for your kindness!!

From: Pricilla,
Beginner,

My Product Information:
Acrobat Standard 8.1.2, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Converting a PDF into another format requires a tool that can do this, HTML JavaScript doesn't cut it, unless you can get the tool displaying the PDF to do it.

When a PDF file is displayed on a web page its being displayed by whatever PDF display tool is on the client's system, Could be Reader, could be Acrobat Pro, could be some other tool, you don't know, so there is no way to do this on the client system from the HTML displayed in the clent's browser, unless you build and distribute a browser add-in that will do it, which isn't very practical. Normally, converting a PDF, linked on a web page, to an image format requires a server side tool.

If you want to write your own, then you'll need a PDF Library. Do a google search for "PDF Library", you'll find plenty.

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script