Loading pngs

How can I load a png file? SDL support this format?–
Roger D. Vargas | "Humans have so many emotions, Artoo. And most
VQt Development Team | seem to cause them pain. I do not understand,
http://vqt.sourceforge.net | but I’m glad I have none. And yet – I can’t help
wondering sometimes… what it would be like."
C-3PO, Protocol Droid. Star Wars 2: World of Fire.

Grab SDL_image from the SDL site. As long as you have
the png libs installed, the configure script should be able to
find them and make use of png’s for you.

JoshOn Thu, Feb 01, 2001 at 10:20:09AM -0500, Roger D. Vargas wrote:

How can I load a png file? SDL support this format?


Roger D. Vargas | "Humans have so many emotions, Artoo. And most
VQt Development Team | seem to cause them pain. I do not understand,
http://vqt.sourceforge.net | but I’m glad I have none. And yet – I can’t help
wondering sometimes… what it would be like."
C-3PO, Protocol Droid. Star Wars 2: World of Fire.

Roger D. Vargas schrieb am 01 Feb 2001:

How can I load a png file? SDL support this format?

You use SDL_image. Various tutorials at http://sdldoc.sourceforge.net/tne/
contain source code to load PNG/TGA/BMP images.

  • Andreas–
    Check out my 3D lightcycle game: http://www.gltron.org
    A 0.60 preview/beta for win32/mac is available NOW!
    More than 100’000 Downloads of the last version (0.59)

Grab SDL_image from the SDL site. As long as you have
the png libs installed, the configure script should be able to
find them and make use of png’s for you.
Please, send me the full url.On Thu, 1 Feb 2001, Josh Bonczkowski wrote:


Roger D. Vargas | "Humans have so many emotions, Artoo. And most
VQt Development Team | seem to cause them pain. I do not understand,
http://vqt.sourceforge.net | but I’m glad I have none. And yet – I can’t help
wondering sometimes… what it would be like."
C-3PO, Protocol Droid. Star Wars 2: World of Fire.

Grab SDL_image from the SDL site. As long as you have
the png libs installed, the configure script should be able to
find them and make use of png’s for you.
Please, send me the full url.

http://www.libsdl.org/

click “libraries”:
http://www.libsdl.org/libraries.html

click “sdl_image”:
http://www.libsdl.org/projects/SDL_image/

Sheesh! :slight_smile:

-bill!> On Thu, 1 Feb 2001, Josh Bonczkowski wrote:

William Kendrick wrote:

Roger D. Vargas wrote:

Please, send me the full url.

http://www.libsdl.org/

click “libraries”:
http://www.libsdl.org/libraries.html

click “sdl_image”:
http://www.libsdl.org/projects/SDL_image/

Sheesh! :slight_smile:

Oops, gave him everything except what he needs :slight_smile:

(he’s using a web-by-mail service)

http://www.libsdl.org/projects/SDL_image/src/SDL_image-1.1.0.tar.gz

  • Randi

Regimental Command
Generic Armored Combat System
http://regcom.sourceforge.net