From: Peter G. <pgr...@ge...> - 2004-02-12 20:05:33
|
Perry Greenfield wrote: That was a response to: >If you want to work off line (ie, draw >to image only and not display to screen ) and are on a linux box, you >can do this with GTK and Xvfb Perhaps it was a misinterpretation on my part. All I meant was that I do not need to look at the images through any of the standard tools (ie, via show()). For my purposes I need to write the image to stdout (not to disk) in its binary form - which is what I do now after modifying some stuff in backend_gd.py. >Peter Groszkowski wrote: > > >>Yes I am only planning to work offline. Want to be able to pipe the >>output images to stdout. I am looking for the fastest solution possible. >> >> >> >Following up on this, I was curious what exactly you meant by >this. A stream of byte values in ascii separated by spaces? >Or the actual binary bytes? If the latter, it wouldn't appear >to be difficult to write a C extension to return the image >as a string, but I'm figuring there is more to it than that >since the representations for the image structure can change >from one backend to another. > >Perry > > > |