Saving .TGA ?

Just starting out? Need help? Post your questions and find answers here.
kenet
User
User
Posts: 24
Joined: Wed Apr 30, 2003 5:44 pm
Contact:

Saving .TGA ?

Post by kenet »

Hi all!
I was wondering if something like that is possible with purebasic...

"Croping" and area on a tga loaded in memory, save the area in an other .tga (with his alpha channel)

Anyone ? :)
User avatar
Paul
PureBasic Expert
PureBasic Expert
Posts: 1282
Joined: Fri Apr 25, 2003 4:34 pm
Location: Canada
Contact:

Post by Paul »

kenet
User
User
Posts: 24
Joined: Wed Apr 30, 2003 5:44 pm
Contact:

Post by kenet »

Yeah it's a good start :)
thx!

edit:
Except the fact that i need a 32bits save ^^;

Sorry to be annoying... But i too lame to code such a thing
User avatar
J. Baker
Addict
Addict
Posts: 2181
Joined: Sun Apr 27, 2003 8:12 am
Location: USA
Contact:

Post by J. Baker »

That is a start but if you want a true tga file, you're going to have to write the header.
www.posemotion.com

PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef


Even the vine knows it surroundings but the man with eyes does not.
Post Reply