Page 1 of 1

Alpha channel not set correctly with forced colour model

Posted: Sun Dec 07, 2008 3:32 am
by Defenestration
For example, when loading an 8-bit image with transparency using forced colour model of BGRA, all pixels have the alpha channel set to 255. Only the pixels that have the same colour as denoted by ColorMap[TransparentIndex] should have the alpha channel set to transparent (ie. 255).

Re: Alpha channel not set correctly with forced colour model

Posted: Sun Dec 07, 2008 9:50 am
by xnview
Defenestration wrote:For example, when loading an 8-bit image with transparency using forced colour model of BGRA, all pixels have the alpha channel set to 255. Only the pixels that have the same colour as denoted by ColorMap[TransparentIndex] should have the alpha channel set to transparent (ie. 255).
right