On Jul 20, 2007, at 6:26 AM, Michael Droettboom wrote:
> Ken McIvor wrote:
>>>
>> I think PIL's ImageTk module would do the trick for converting  
>> RGBA ->
>> PIL Image -> Tk Bitmap/PhotoImage.
>
> That's what I was thinking, too.  I don't think there's a way to do  
> this
> in a raw Tkinter.  But is PIL something we plan to depend on?

I don't know, although I'm warming to the idea myself.  If we don't  
want the Tk backend to depend on PIL, we could create a string  
containing an X11 bitmap of the renderer's RGB array and use it to  
construct or update a Tkinter.BitmapImage.

Ken

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to