convert pdf to png

Jaap Spies j.spies at hccnet.nl
Mon Dec 24 06:27:36 EST 2007


Carl K wrote:
> I need to take the take the pdf output from reportlab and create a 
> preview image for a web page.  so png or something.  I am sure 
> ghostscript will be involved. I am guessing PIL or ImageMagic ?
> 
> all sugestions welcome.
> 

If it is a multi page pdf Imagemagick will do:

convert file.pdf page-%03d.png

Jaap



More information about the Python-list mailing list