On 1/5/11 11:50 PM, Karol Krizka wrote:
It just lookslike you have an indexed image, instead of an RGB one -
Just print out your
"im.mode" to get shure -
print im.mode
'L'
Hmm, that seemed to have been the problem...
yup.
For those interested, I now managed to create an RGB image using the
following command:
convert house.ppm png24:house.png
you could have converted to RGB inside PIL, as well.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
chris.bar...@noaa.gov
_______________________________________________
Image-SIG maillist - Image-SIG@python.org
http://mail.python.org/mailman/listinfo/image-sig