Meaningless Drivel is fun!*
The moose likes Linux / UNIX and the fly likes PDF to Image Converter Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "PDF to Image Converter" Watch "PDF to Image Converter" New topic
Author

PDF to Image Converter

Tyler Scott Alexander
Greenhorn

Joined: Dec 05, 2006
Posts: 2
Hey guys,
I'm going crazy here. I'm hoping some of you have dealt with this in the past. I'm looking for a decent PDF to PNG(or JPEG) rasterizer that runs on Linux. I'm not too concerned about the licensing. Any product would be ideal.

Thanks in advanced,
Tyler
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41106
    
  45
You could first render the PDF into a Java component: https://pdf-renderer.dev.java.net/

And then render that Java component into a BufferedImage, which you can scale and save to a JPEG or PNG file (the javax.imageio.ImageIO class can handle the last part).


Ping & DNS - my free Android networking tools app
Stefan Wagner
Ranch Hand

Joined: Jun 02, 2003
Posts: 1923

The magick image-converter of choice is - of course - convert from the Image-Magick package, most probably available for your preferred linux flavour.

produces XY-0.png .... XY-27.png for me for a 27 pages PDF.

Correction: 28 pages.
[ February 13, 2008: Message edited by: Stefan Wagner ]

http://home.arcor.de/hirnstrom/bewerbung
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: PDF to Image Converter
 
Similar Threads
What is the MIME type for pdf files?
PDFBox - Adding a new page to a pdf
Interactive Web Forms
PDF generation using Itext
How to display PDF data type with XSLT ?