how to get GIF Transparency color in vc++ 6.0 and vc++ 2005 ?
A:
See the GIF specification. GIFs have a palette of up to 256 possible colors. The palette index of the background color can be found at offset 11 from the beginning of the file, and consists of a single byte (value 0-255). To find the actual color that this corresponds to, look up that color in the Global Color Table. See the spec for more information on how to parse the Global Color Table.
Adam Rosenfield
2008-12-04 06:43:52