質問

The other day, I thought that I would learn more about image compression. I looked into .png and its respective compression algorithm and I would like to be able to uncompress the file without any other library as a way for me to learn more about data compression. I am having a difficult time finding info on how to decompress a png without a third-party library and was hoping someone may be able to either point me in the right direction or briefly explain it.

役に立ちましたか?

解決

I'd start with reading about the DEFLATE compression for example on wikipedia or RFC 1951 as this is the base of the PNG compression (at least according to wikipedia). There is also a brief explaination of the filtering which preceeds the DEFLATE is available.

他のヒント

If you want to decompress the deflate data, you'll need to be able to find it. So you should first learn about the structure of PNG files. Then see other answer.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top