Displaying EPS in a GUI

Piet van Oostrum piet at cs.uu.nl
Tue Mar 20 07:10:24 EDT 2007


>>>>> virtk0s at gmail.com (V) wrote:

>V> Does anybody know of a good way to display Encapsulated Postscript
>V> images in a GUI? I'm currently using wx, but would be perfectly
>V> willing to switch to another binding to keep the program from becoming
>V> hackish.

You need e Postscript interpreter, e.g. Ghostscript.
If you have Ghostscript installed PIL can read EPS images. Then they can be
converted to wx images:
http://wiki.wxpython.org/index.cgi/WorkingWithImages
-- 
Piet van Oostrum <piet at cs.uu.nl>
URL: http://www.cs.uu.nl/~piet [PGP 8DAE142BE17999C4]
Private email: piet at vanoostrum.org



More information about the Python-list mailing list