Create thumbnail image (jpg/png) of PDF file using Python

golfshoe at gmail.com golfshoe at gmail.com
Thu Jun 14 13:35:27 EDT 2012


On Wednesday, November 21, 2007 1:16:55 PM UTC-5, sophie_newbie wrote:
> On Nov 20, 5:36 pm, sophie_newbie 
>  wrote:
> > Is there any way to do this directly within python?
> >
> > If not is there any other good way to achieve it?
> >
> > Thanks in advance for any help!
> 
> I think I've solved this problem using a piece of software called
> imageMagick. Good stuff so it is.

Interesting. I wonder if GS can be used to convert PDF To JPG and JPG back to PDF?  Pillow is a better alternative to PIL if you are in need of compiling on a Mac.



More information about the Python-list mailing list