Compute hash of only the core image data (excluding metadata) for an image

后端 未结 4 2065
花落未央
花落未央 2020-12-13 20:31

I\'m writing a script to calculate the MD5 sum of an image excluding the EXIF tag.

In order to do this accurately, I need to know where the EXIF tag is located in th

4条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-13 20:43

    I would use a metadata stripper to preprocess your hashing :

    From ImageMagick package you have ...

    mogrify -strip blah.jpg
    

    and if you do

    identify -list format 
    

    it apparently works with all the cited formats.

提交回复
热议问题