[Image-SIG] colorshift while converting png to gif
Jeff Epler
jepler at unpythonic.net
Sun Feb 6 21:24:59 CET 2005
I get a similar problem with the following complete program:
import Image
i = Image.fromstring("RGB", (1, 1), chr(255) * 3)
j = i.convert("P")
print j.getpixel((0,0)) # prints 252, should print 255
This seems to have something to do with converting to a palette image.
Jeff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.python.org/pipermail/image-sig/attachments/20050206/c8b4f1e9/attachment.pgp
More information about the Image-SIG
mailing list