image-sig, I have an image that I have constructed from an array, and need to end up as a Tkinter.PhotoImage and I am a little confused as to how I get there.
I have this working: self.array = array([0] * (height * width * 3), 'B') image = Image.frombuffer("RGB", (self.width, self.height), self.array, "raw", "RGB", 0, 1) but I need to end up with something equivalent to this kind of object: pim = Tkinter.PhotoImage(file=filename) I've tried ImageTk.PhotoImage(image) and other conversions, but I don't get an object with fields and methods like 'blank', 'cget', 'config', 'configure', 'copy', 'get', 'height', 'name', 'put', 'subsample', 'tk', 'type', 'width', 'write', and 'zoom'. What will turn image into a pim? Any hints appreciated, -Doug -- Douglas S. Blank Associate Professor, Bryn Mawr College http://cs.brynmawr.edu/~dblank/ Office: 610 526 6501 _______________________________________________ Image-SIG maillist - Image-SIG@python.org http://mail.python.org/mailman/listinfo/image-sig