bbLoadImage with PNGs

Archives Forums/Blitz3D SDK Programming/bbLoadImage with PNGs

DrMark(Posted 2008) [#1]
I have a number of sprite frames in PNG format. When I load (using bbLoadImage) the image allways has black transparency (also resulting in the edges of the sprite being blended to black) which is not what I want. Is there any way to specify the background color of the image that the PNG is loaded on to?

Thanks,

Mark.


Leon Drake(Posted 2008) [#2]
i dont think you can do that with PNG. i think you have to save PNG with alpha in order to get masked or transparent areas.