convert pdf to png

Ramsey Nasser aladameh at gmail.com
Mon Dec 24 06:16:10 EST 2007


On Dec 24, 2007 7:53 AM, Carl K <carl at personnelware.com> 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.
>
> Carl K
> --
> http://mail.python.org/mailman/listinfo/python-list
>

PIL's support for pdf files is write only, so thats out of the question.

I just tried ImageMagik from the console and it converted a pdf into
png in a snap, so that seems to be your best bet.

-- 
nasser



More information about the Python-list mailing list