Uploaded image for project: 'Commons Imaging'
  1. Commons Imaging
  2. IMAGING-112

JpegIptcRewriter.removeIPTC() does not remove all metadata

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0-alpha1
    • 1.0-alpha1
    • None
    • None

    Description

      I'm trying to compute hashes from my images to detect duplicates.

      To do so, I strip every metadata (like keywords I may have added) then compute a CRC32.

      My problem is that JpegIptcRewriter.removeIPTC() does not remove all metadata as there is always a difference of 18 bytes (containing "Photoshop 3.0").

      So could it be possible to remove those 18 bytes as well in removeIPTC() so that I can compute hashes?

      Thanks,

      Xavier

      Attachments

        1. ImageTest.java
          2 kB
          Xavier Dury
        2. imaging-112.patch
          9 kB
          Xavier Dury
        3. patch.txt
          8 kB
          Xavier Dury

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            britter Benedikt Ritter
            kalgon Xavier Dury
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment