471,342 Members | 1,941 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,342 software developers and data experts.

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

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!
Nov 20 '07 #1
3 5647
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 have used ghostscript from within python to do this sort of thing. You may get
problems if the fonts are too exotic, but otherwise it works quite well. If that
sounds OK I can send you a script that I use.
--
Robin Becker

Nov 20 '07 #2
On Nov 20, 11:36 am, sophie_newbie <paulgeele...@gmail.comwrote:
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!
Take a look at PIL -- http://www.pythonware.com/products/pil/. Among
other things, it allows you to easily create thumbnails.

--Nathan Davis
Nov 20 '07 #3
On Nov 20, 5:36 pm, sophie_newbie <paulgeele...@gmail.comwrote:
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.
Nov 21 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Phil Powell | last post: by
reply views Thread by Balu Ramachandran | last post: by
10 posts views Thread by David | last post: by
3 posts views Thread by pedrito | last post: by
9 posts views Thread by pek | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.