Hi,
I'm aware that there's some functionality to integrate PIL images into pyx 
drawings. What about the other way around? Currently, I'm using the following 
code to get a pyx vector drawing into a PIL image:

pyx_canvas.pipeGS(filename=fn, device="pngalpha", resolution=600,
                   gscommand="gs", gsoptions="-dSAFER -dBATCH -dNOPAUSE",
                   textalphabits=4, graphicsalphabits=4)
pyx_to_PIL = PIL.Image.open(fn)

Is there a way to avoid the overhead that arises from writing and re-opening 
the png file?

Thanks for your help
Christoph

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user

Reply via email to