Is there a fix planned for transparency loaded from PNG/GIF?
Posted: Wed Jul 23, 2008 3:55 pm
When I use LoadBitmap to open a GIF or PNG, transparency info is lost and I can't find any way of retrieving it.
Is there any plan to address this? What sort of time frame?
Perfect happiness:
Alpha transparency remembered when loading from a full colour PNG. Pixel transparency remembered when loading from a colour-indexed file with transparency. (Might as well load "pixel" transparency simply as fully alpha transparent.)
Mostly happy:
Alpha transparency not catered for, but pixel transparency remembered from colour-indexed file.
In either case, the ability to render / overlay the loaded image over either another image or a specificed background colour (such that the background shows "through" appropriately) would be really useful.
If this is already possible in gflax 2.82 I'm not seeing it. All I get is the "colour" of the transparent pixel... I don't see any way of figuring out if that was actually supposed to be transparent or opaque, and no way of separating the "colour" of the transparent index a colour-indexed file from a matching opaque colour. eg if "transparent" is black plus another colour index is opaque black, I can't tell (a) what the transparent colour was at all or (b) which "black" pixels were / were not supposed to be transparent.
Is there any plan to address this? What sort of time frame?
Perfect happiness:
Alpha transparency remembered when loading from a full colour PNG. Pixel transparency remembered when loading from a colour-indexed file with transparency. (Might as well load "pixel" transparency simply as fully alpha transparent.)
Mostly happy:
Alpha transparency not catered for, but pixel transparency remembered from colour-indexed file.
In either case, the ability to render / overlay the loaded image over either another image or a specificed background colour (such that the background shows "through" appropriately) would be really useful.
If this is already possible in gflax 2.82 I'm not seeing it. All I get is the "colour" of the transparent pixel... I don't see any way of figuring out if that was actually supposed to be transparent or opaque, and no way of separating the "colour" of the transparent index a colour-indexed file from a matching opaque colour. eg if "transparent" is black plus another colour index is opaque black, I can't tell (a) what the transparent colour was at all or (b) which "black" pixels were / were not supposed to be transparent.