A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
PostGIS in Action
this week in the
JDBC and Relational Databases
Java Advanced Topics Training
Java in General
Linux / UNIX
PDF to Image Converter
Tyler Scott Alexander
Joined: Dec 05, 2006
Feb 13, 2008 15:09:00
I'm going crazy here. I'm hoping some of you have dealt with this in the past. I'm looking for a decent
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,
Joined: Mar 22, 2005
Feb 13, 2008 15:27:00
You could first render the PDF into a
And then render that Java component into a
, which you can scale and save to a JPEG or PNG file (the
class can handle the last part).
Joined: Jun 02, 2003
Feb 13, 2008 20:27:00
The magick image-converter of choice is - of course -
from the Image-Magick package, most probably available for your preferred linux flavour.
convert XY.pdf XY.png
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 ]
I agree. Here's the link:
subject: PDF to Image Converter
PDF generation using Itext
What is the MIME type for pdf files?
PDFBox - Adding a new page to a pdf
Interactive Web Forms
How to display PDF data type with XSLT ?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015