Himanshu Sajwan
Himanshu Sajwan

Reputation: 13

what exactly is the actual image data inside IDAT chunck in PNG file?

PNG Specification here says PNG file contains a chunk IDAT which contains the actual image data.

My question is when I modify (using hex editor) LSB of any 1 byte in IDAT the whole image goes bad(colors changes randomly or image becomes transparent with some outline remaining or completely blank).

How just changing 1 byte can cause this?

Upvotes: 1

Views: 272

Answers (1)

Mark Adler
Mark Adler

Reputation: 112349

It says exactly what's in there in the specification you linked. Did you consider reading the specification?

Upvotes: 1

Related Questions