471,073 Members | 1,414 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

Convert from PDF to raster format image

Does any one know of a way to convert PDF documents into a raster
format, such as TIFF or JPEG? Of course to do it in Python would be
my preference, but if you know of another way to do this
programatically I would also be interested. Thanks.

-Ruben
Jul 18 '05 #1
3 5422
"R.Marquez" wrote:
Does any one know of a way to convert PDF documents into a raster
format, such as TIFF or JPEG? Of course to do it in Python would be
my preference, but if you know of another way to do this
programatically I would also be interested. Thanks.


did you try ghostscript?

http://www.cs.wisc.edu/~ghost/
http://www.ghostscript.com

</F>


Jul 18 '05 #2
ny**********@yahoo.com (R.Marquez) writes:
Does any one know of a way to convert PDF documents into a raster
format, such as TIFF or JPEG? Of course to do it in Python would be
my preference, but if you know of another way to do this
programatically I would also be interested. Thanks.


I'm all for Pythonic solutions but from my experience your best bet
is to just use Ghostscript. It's easy to call it from Python.

--kyler
Jul 18 '05 #3
On Sat, 16 Apr 2004, R.Marquez wrote:
Does any one know of a way to convert PDF documents into a raster
format, such as TIFF or JPEG? Of course to do it in Python would be
my preference, but if you know of another way to do this
programatically I would also be interested. Thanks.


Ghostscript?

If it can, on some platforms GS is built as a DLL or shared object, with a
defined API. The ctypes module might be able to let you drive this;
failing that, os.system() would work.

--
Andrew I MacIntyre "These thoughts are mine alone..."
E-mail: an*****@bullseye.apana.org.au (pref) | Snail: PO Box 370
an*****@pcug.org.au (alt) | Belconnen ACT 2616
Web: http://www.andymac.org/ | Australia

Jul 18 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by clintonG | last post: by
1 post views Thread by John Tempest | last post: by
4 posts views Thread by Nick K. | last post: by
2 posts views Thread by VenuGopal | last post: by
2 posts views Thread by James dean | last post: by
3 posts views Thread by Ignacio Marcos | last post: by
8 posts views Thread by platinumhimani | last post: by
3 posts views Thread by femtox77 | last post: by
4 posts views Thread by alarock | last post: by
reply views Thread by leo001 | 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.