How can i load a .PNG sprite ??

Just starting out? Need help? Post your questions and find answers here.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by David.

Hi. Can i load somehow a .PNG image ? Just found informations for uncompressed images (.BMP) in the help.. Hope i can do that somehow.. cuz PNG is sooo much better/smaler...

Thanx.
David.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by TheBeck.

You need to download a 3rd party DLL as PureBasic has no native PNG support.

http://www.libpng.org/pub/png/pngaptk.html
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by David.

Thanks. Will try it out.

MD
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Andre.

Anyway, would be nice if the PB image + sprite libs could get native PNG support. PNG should be the best solution (good compression, no licence restrictions) beside the standard BMP support.

Regards
André

*** German PureBasic Support ***
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by WolfgangS.

Hi !
And it provides "empty" pixels like gif.
Check this: http://www.libpng.org/pub/png/
And this ... http://www.libpng.org/pub/png/libpng.html

MFG
:)WolfgangS
Post Reply