When loading with a forced colour model which has the Alpha channel (GFL_RGBA | GFL_ABGR | GFL_BGRA | GFL_ARGB), it would be nice if the TransparentIndex and ColorMap fields were still filled out with the correct information if the image has a colour map with or without transparency.
Without this information, there is no way to determine the following info without loading it twice (once without forced colour model, and then with)
a) if the image had transparency
b) if the image had a colour map
c) what colour was used for transparency (this can obviously be determined if you know (a) and (b))
TransparentIndex should still be set with forced colour mode
Moderators: XnTriq, helmut, xnview
-
- Posts: 52
- Joined: Fri Aug 18, 2006 7:08 pm
-
- Posts: 52
- Joined: Fri Aug 18, 2006 7:08 pm