PNG under Win32

Hi there,
I’m programming a game and I’d like to reduce size of the pics to the minimum (640x480x16bit res.), so BMP won’t do any good :). I’m using gif for compression right now, but I’d better use PNG compression.

I’m currently using SDL_Image-1.0.9 lib. There’s a referer to PNG.h file in that lib, but the file just isn’t there.

Any suggestions for a png lib suitable for use with SDL_Image? (I’m developing under win32)

Thanks

You need to get the PNG library: http://www.cdrom.com/pub/png/ and
the Zlib library: http://www.cdrom.com/pub/infozip/zlib/ because the PNG lib depends on it

Here’s another lib you might want to look at
http://www.imagemagick.org/

“Jahoda” wrote in message news:003f01c03eb7$89b12880$da6414d4 at Jahoda…
Hi there,
I’m programming a game and I’d like to reduce size of the pics to the minimum (640x480x16bit res.), so BMP won’t do any good :). I’m using gif for compression right now, but I’d better use PNG compression.

I’m currently using SDL_Image-1.0.9 lib. There’s a referer to PNG.h file in that lib, but the file just isn’t there.

Any suggestions for a png lib suitable for use with SDL_Image? (I’m developing under win32)

Thanks

Libpng is at
http://www.libpng.org/pub/png/libpng.html
–Manny

At 09:12 PM 10/25/2000 +0200, you wrote:>Hi there,

I’m programming a game and I’d like to reduce size of the pics to the
minimum (640x480x16bit res.), so BMP won’t do any good :). I’m using gif
for compression right now, but I’d better use PNG compression.

I’m currently using SDL_Image-1.0.9 lib. There’s a referer to PNG.h file
in that lib, but the file just isn’t there.

Any suggestions for a png lib suitable for use with SDL_Image? (I’m
developing under win32)

Thanks