[SDL] PNG and SDL (slightly OT)
A. Umbach
marvin at dataway.ch
Thu Jan 27 08:28:47 PST 2000
Scott Russell <srussell at pangaeasoftware.com> schrieb am 27 Jan 2000:
> If no one minds me stepping into a thread... Is there anything published on
> using pnglib or something similar with SDL? I'd like a little handholding
> wiring them together, and it sounds like it's already working for some of
> you. I'm developing dual-platform, NT4 and Linux.
I don't know what's going on unter NT, but under Linux your program
automatically links with libpng if you link with SDL_image.
Then just use IMG_Load(filename) and you have the Image in a SDL_Surface.
- Andreas
--
Probably one of the smallest 3D-Games in the world
http://www.ards.net/Andreas/gltron.html
More than 35'000 Downloads of the latest version (0.53)
More information about the SDL
mailing list