[
https://issues.apache.org/jira/browse/IMAGING-112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Benedikt Ritter resolved IMAGING-112.
-------------------------------------
Resolution: Fixed
Fix Version/s: (was: Review Patch)
1.0
Assignee: Benedikt Ritter
{code}
$ svn ci -m "IMAGING-112: JpegIptcRewriter.removeIPTC() does not remove all
metadata. Thanks to Xavier Dury."
Sending src/changes/changes.xml
Sending
src/main/java/org/apache/commons/imaging/formats/jpeg/iptc/JpegIptcRewriter.java
Adding
src/test/java/org/apache/commons/imaging/formats/jpeg/iptc/IptcFullDiscardTest.java
Transmitting file data ...
Committed revision 1684562.
{code}
Thank you!
> JpegIptcRewriter.removeIPTC() does not remove all metadata
> ----------------------------------------------------------
>
> Key: IMAGING-112
> URL: https://issues.apache.org/jira/browse/IMAGING-112
> Project: Commons Imaging
> Issue Type: Improvement
> Affects Versions: 1.0
> Reporter: Xavier Dury
> Assignee: Benedikt Ritter
> Fix For: 1.0
>
> Attachments: ImageTest.java, imaging-112.patch, patch.txt
>
>
> 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
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)