Convert from PDF to raster format image
andymac at bullseye.apana.org.au
Sat Apr 17 01:12:58 CEST 2004
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.
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: andymac at bullseye.apana.org.au (pref) | Snail: PO Box 370
andymac at pcug.org.au (alt) | Belconnen ACT 2616
Web: http://www.andymac.org/ | Australia
More information about the Python-list