Not quite. That produces a header. I'm looking for a "raw" image.
However, I solved that with a .tostring().
Lucas wrote:
Hello,
Just a simple call to img.save("filename" [, "extension"])
regards,
Lucas
On Sat, Apr 11, 2009 at 12:08 PM, Wayne Watson
<sierra_mtnv...@sbcglobal.net> wrote:
I have an image of described as:
Img Info---------------->: {}
size: (640, 480)
format: None
mode: P
palette: <ImagePalette.ImagePalette instance at 0x02393378>
bands: ('P',)
type: <type 'instance'>
I'd like to write it to a file. Apparently, I need to convert it to a string
first. How do I do that?
--
Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
(121.01 Deg. W, 39.26 Deg. N) GMT-8 hr std. time)****
"In arithemtic as in politics, the importance of one is
determined by the number of zeros behind it." -- Anon
_______________________________________________
Image-SIG maillist - Image-SIG@python.org
http://mail.python.org/mailman/listinfo/image-sig
--
Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet
"In arithemtic as in politics, the importance of one is
determined by the number of zeros behind it." -- Anon
_______________________________________________
Image-SIG maillist - Image-SIG@python.org
http://mail.python.org/mailman/listinfo/image-sig