Decompress PNG using zlib

Posted by darkie15 on Stack Overflow See other posts from Stack Overflow or by darkie15
Published on 2010-03-29T02:43:07Z Indexed on 2010/03/29 2:53 UTC
Read the original article Hit count: 612

Filed under:
|
|

Hi All,

How can I use zlib library to decompress a PNG file? I have no idea how to read a PNG file. When I opened a PNG file in TextPad(a text editor), the data was not at all understandable. Is it because a PNG file is compressed?

Any help is greatly appreciated. I need to read a PNG file using a C program and gcc compiler.

Regards, darkie

© Stack Overflow or respective owner

Related posts about gcc

Related posts about png