[Image-SIG] colorshift while converting png to gif
hgerlach at compals.com
Sun Feb 6 18:59:21 CET 2005
I experience the following problem:
I have a small 10x10 Image named 'white.png', which is just a plain white
square (generated with GIMP).
After I ran this code
#Versions of rpm-packages
import Image, ImageDraw
im = Image.open('white.png')
f = open("white-converted.gif","wb")
f = open("white-converted.png","wb")
the GIF image is no longer white, but light gray (#fcfcfc) while the png
stays white (#ffffff).
What am I doing wrong?
Is there some way to keep the GIF white?
This also happens with more complex pictures.
More information about the Image-SIG