Saving masked/transparent image?

Blitz3D Forums/Blitz3D Programming/Saving masked/transparent image?

Alienforce(Posted 2005) [#1]
How can i save a masked/transparent image ??
.tga or .png inside blitz..

I need the background to transparent and not included in my save..

Think ive tried alomst everything now and i still end up with some background ... :(

/Alienforce


Rob Farley(Posted 2005) [#2]
There's not a blitz command to do it... But you can save a PNG if you write the code to do it.

http://www.libpng.org/pub/png/


Alienforce(Posted 2005) [#3]
:)

Its the code for it iam trying to write ...

:)

/Alienforce


jfk EO-11110(Posted 2005) [#4]
plus:

tga: http://www.blitzbasic.com/codearcs/codearcs.php?code=1247

png,jpg: http://www.blitzcoder.com/cgi-bin/showcase/showcase_showentry.pl?id=snarty09252003024804&comments=no


Alienforce(Posted 2005) [#5]
Thanks,

/Alienforce