Alpha channel not set correctly with forced colour model
Moderators: XnTriq, helmut, xnview
-
- Posts: 52
- Joined: Fri Aug 18, 2006 7:08 pm
Alpha channel not set correctly with forced colour model
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).
-
- Author of XnView
- Posts: 44325
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Alpha channel not set correctly with forced colour model
rightDefenestration 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).
Pierre.