News for hackers. Stuff that matters.
Re:PNG and Hidden Pixels by jansan on Tuesday September 01, 2020 @09:44AM (#24341637)
PNG's IDAT chunk, which contains actual image data, is simply all lines of data compressed with the deflate algorithm. Once you inflate (uncompress) it, you have all data and can compare if width and height match. This way it is quite easy to detect if additional data was added.

There are no comments on this comment yet.