OK, a bit (or a lot!), but once someone else brought it up---
Carl Karsten wrote:
> # gs -sDEVICE=png16m -sOutputFile=x.png -dBATCH -dNOPAUSE badge.pdf
I've used similar code. However, in my case, we're thumbnailing
arbitrary pdfs, which could be any size -- usually they are US-letter or
A
Carl Karsten wrote:
>>> > OSError: [Errno 10] No child processes
>>
>> does the "gs" command behave properly if you run it from the shell?
>
> Yes.
>
> It even behaves most of the time when run from subprocess.call(gs_command).
could it be this bug?
http://bugs.python.org/issue1731717
Fredrik Lundh wrote:
> Carl Karsten wrote:
>
>> close failed: [Errno 10] No child processes
>>
>> and stack dumps:
>>
>> > subprocess.call(gs_command)
>> >
>> > File "/usr/local/lib/python2.5/subprocess.py", line 443, in call
>> > return Popen(*popenargs, **kwargs).wait()
>> >
>> >
Carl Karsten wrote:
> close failed: [Errno 10] No child processes
>
> and stack dumps:
>
> > subprocess.call(gs_command)
> >
> > File "/usr/local/lib/python2.5/subprocess.py", line 443, in call
> > return Popen(*popenargs, **kwargs).wait()
> >
> > File "/usr/local/lib/python2.5
For the PyCon registration web page, we would like to display a preview of what
the persons badge will look like based on what they have entered. (full name,
nick name, extra lines in the fonts that will be used - helps make sure things
will fit, etc.)
The badge gets created as a pdf=mkpdf(dat
http://www.gnu.org/software/ghostscript/ghostscript.html
Kevin
- Original Message -
From: "Franz Struwig" <[EMAIL PROTECTED]>
To:
Sent: Thursday, June 09, 2005 2:20 PM
Subject: [Image-SIG] PDF to Image conversion
> Greetings,
>
> Does anyone know of an elegant met
Greetings,
Does anyone know of an elegant method to convert a PDF to an
image...possibly using PIL?
Thanks,
Franz
___
Image-SIG maillist - Image-SIG@python.org
http://mail.python.org/mailman/listinfo/image-sig