[Mono-dev] Transparency from GIF files does not show up in BitmapData

Christian Stümpel mail at christian-stuempel.de
Thu Feb 7 04:09:16 EST 2008


Hi everybody ,

my program analyzes System.Drawing.Bitmaps. Many pixel formats (all- 
non indexed, some indexed) work fine, but in BitmapData of Bitmaps  
from GIF image files which use transparent color I cannot find the  
transparency information anywhere. From the source code I guessed  
that the transparent index would get transformed into an ColorPalette  
entry which has the alpha component set correctly.  But all palette  
entries  are opaque.

A problem with the GIF decoder maybe? Any ideas?

Christian Stuempel



More information about the Mono-devel-list mailing list