Python Imaging Library Question

Thomas Guettler hv at tbz-pariv.de
Thu Oct 23 10:38:30 EDT 2008


Marek Kralewski schrieb:
> Hi,
> 
> I am writing a script to convert EPS to PNG images. I need to set the
> resolution (and geometry accordingly), since the rendered images are to
> small. The resolution and geometry must be given as switches to the gs
> command. Is there a way to overload the Ghostcript function in the
> EpsImagePlugin.py file or to overload the plugin or to write a custom
> plugin without interfering with the PIL?
> The question hopefully seems trivial to a python programmer..

Hi,

you can call gs yourself with e.g. the module subprocess.

  Thomas



-- 
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de



More information about the Python-list mailing list