From: John H. <jdh...@ac...> - 2005-08-24 13:26:45
|
>>>>> "Yves" == Yves Moisan <ym...@gr...> writes: Yves> Hi All, I'm striving to understand how I ca stuff a file Yves> object (e.g. StringIO) to print_figure for an Agg backend. Yves> backend_agg.py states : "If filename is a fileobject, write Yves> png to file object (thus you can, for example, write the png Yves> to stdout". This has come up a number of times. I worked on this once. The sticking point is that libpng takes a FILE pointer, and the cstringio doesn't provide one. There must be a way to do it, but I haven't figured it out yet. Please file a support request on the sf site to remind us to figure it out! Thanks, JDH |