Treat the TIFF/EXIF byte range occupied by maker notes
as an unknown value that is to be preserved. This is
because some maker notes are TIFF directories which
reference values stored inside the maker notes
using TIFF-relative addresses, meaning that
even though we parse the maker notes field,
it is written to a different location
when rewriting the file, causing
its internal addresses to become wrong.
By preserving the location and values
of the original maker notes, the new maker notes
will reference valid values in the old.

Also disable a file that now fails
the ExifRewriteTest, because we duplicate
the maker notes on each rewrite,
and that file's maker notes are 28kB
causing the 64kB JPEG segment limit to be overrun.

Jira issue key: SANSELAN-32



git-svn-id: https://svn.apache.org/repos/asf/commons/proper/sanselan/trunk@1224681 13f79535-47bb-0310-9956-ffa450edef68
2 files changed
tree: 2b37387705bbe5f268a0cc1af8c079dbd10a75e1
  1. src/
  2. LICENSE.txt
  3. NOTICE.txt
  4. pom.xml
  5. README.txt
  6. RELEASE_NOTES