Using a list of RGB data for Canvas widget? [(R1, G1, B1), (R2, G2, B2) etc.]

Discussion in 'Python' started by Nainto, Feb 23, 2006.

  1. Nainto

    Nainto Guest

    Hi, I have searched the arhives and Google, plus I have tried this on
    my own, but I cannot find a way to convert a list of RGB values to a
    Tkinter PhotoImage or BitmapImage to use with the Tkinter canvas
    widget. I'd rather not have to use PIL or anything but pure Python,
    it's included modules, and Tkiner. Reason being, I would like to port
    this/the project it is in to other platforms that may not have anything
    else. Any help would be greatly appreciated. Thanks!
     
    Nainto, Feb 23, 2006
    #1
    1. Advertising

  2. Nainto

    Nainto Guest

    Just to clarify. I'm not asking for any code. A ink or explination of
    how to convert a list of this type to BitmapImage or PhotoImage data
    would be very helpful.
     
    Nainto, Feb 23, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Askari
    Replies:
    2
    Views:
    713
    Askari
    Aug 30, 2004
  2. PhilC
    Replies:
    2
    Views:
    895
    PhilC
    Oct 25, 2004
  3. Kevin Walzer

    Re: PIL (etc etc etc) on OS X

    Kevin Walzer, Aug 1, 2008, in forum: Python
    Replies:
    4
    Views:
    411
    Fredrik Lundh
    Aug 13, 2008
  4. Replies:
    0
    Views:
    333
  5. Replies:
    10
    Views:
    267
    Rick Johnson
    Mar 15, 2013
Loading...

Share This Page