By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,544 Members | 1,471 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,544 IT Pros & Developers. It's quick & easy.

Convert from PDF to raster format image

P: n/a
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
Share this Question
Share on Google+
3 Replies


P: n/a
"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

P: n/a
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

P: n/a
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.