Page 1 of 1

PNG-32 support - a painful question :-(

PostPosted: Apr 6, 2005 @ 2:13pm
by BIGBEN

PostPosted: Apr 12, 2005 @ 11:13am
by muff
as a work around for now, you could always save the PNG out as 2 separate files - one for picture colour information, and one for the alpha mask information

PostPosted: Apr 12, 2005 @ 11:23am
by BIGBEN
Thank you, but it is 33% larger on run time. 32PNG(24color converted to 16 + alpha 8 bits) = 24 bits vs. 16 + 16 bits = 32 bits.
24 vs. 32!
But thank you anyway.
Could you please post your code for 2 surfaces AlphaBlit? :wink:

PostPosted: Apr 12, 2005 @ 12:36pm
by muff
well actually I wrote my own gfx engine instead of using PocketFrog or GapiDraw in the end - which amongst many other features allows a 16bit image to use ANY 8bit mask as an alpha mask - so still 24 bit :D

so sorry, no code to share - but the principle still applies :D

PostPosted: Apr 12, 2005 @ 1:53pm
by BIGBEN

PostPosted: Apr 12, 2005 @ 1:53pm
by fast_rx

PostPosted: Apr 12, 2005 @ 2:15pm
by BIGBEN