Subject: | inconsistent case of hashkey for (png) comments |
checking the images from the testsuite with exiftool (from Image::ExifTool 8.15) i can see that two images have comments
------------>8---------------------
Image-Info-1.36# for i in img/*.png; do echo $i; exiftool $i | grep ^Comment; done
img/interlace.png
Comment : Created with The GIMP
img/test.png
img/ztxt.png
Comment : some image comment.
Image-Info-1.36#
------------>8---------------------
i would expect the comment to be available as documented, however for ztxt.png the hashkey seems to be 'comment' instead of 'Comment', which is undesirable and inconsistent. this particular behaviour might not be limited to png, but thats where we encountered it
------------>8---------------------
Image-Info-1.36# perl -Ilib -MImage::Info=image_info -E 'say image_info("img/interlace.png")->{Comment}'
Created with The GIMP
Image-Info-1.36#
Image-Info-1.36# perl -Ilib -MImage::Info=image_info -E 'say image_info("img/ztxt.png")->{Comment}'
Image-Info-1.36# perl -Ilib -MImage::Info=image_info -E 'say image_info("img/ztxt.png")->{comment}'
some image comment
Image-Info-1.36#
------------>8---------------------