Skip to content

Ximer612/PNG-Decoder-in-C

Repository files navigation

PNG Decoder in C

A simple PNG Decoder made using zlib in C by translating python script. This decoder supports only 8 bit truecolor with alpha png images (RGBA images) and doesn't support interlacing. Best image to decode are 32x32.

I've done this to challenge my self into translating other language script into another and get in touch with C again after some time. The most challenging part was understanding how to translate the zlib python functions to C ones and convert zlib data into SDL2 a texture.

Image1 Image2 Image3

About

a png decoder made using zlib in C

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages