How to see detailed PNG properties?

Karl Auer kauer at biplane.com.au
Sat Sep 17 05:18:19 UTC 2022


I need to see *detailed* PNG image properties. "file" doesn't provide
nearly enough detail, nor does the image viewer. Not even the GIMP
does. Specifically I want to see things like the embedded date created
and date modified fields (iTME etc). I can use a hex editor but it's
painful.

My usual goto, the ImageMagick "identify" program, seems to have a
"feature" where it synthesises some details, making it useless in this
case:

$ diff -s stripped.png stripped1.png
Files stripped.png and stripped1.png are identical
$ identify -verbose stripped1.png | grep date
    date:create: 2022-09-17T14:00:11+10:00
    date:modify: 2022-09-17T14:00:11+10:00
$ identify -verbose stripped.png | grep date
    date:create: 2022-09-17T14:01:05+10:00
    date:modify: 2022-09-17T14:01:05+10:00

Any help would be appreciated.

Thanks, K.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au)
http://www.biplane.com.au/kauer








More information about the ubuntu-users mailing list