W. eWatson schrieb:
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? Pickle?
Did you bother reading the PIL documentation just for about 30seconds?
http://www.pythonware.com/library/pil/handbook/image.htm
Hint: look for "save".
Diez
--
http://mail.python.org/mailman/listinfo/python-list