Rather than hardcoding which images break the ExifRewriteTest,
detect fields that are broken during the test
and ignore only those fields.

Sanselan cannot transfer raw tag bytes from image to image
because the byte order might change (at least, for non-ASCII fields).
But since it cannot properly parse 8 bit unclean strings (which aren't
supposed to exist according to EXIF), it cannot properly copy them either,
and ends up corrupting them when rewriting EXIF. For now detect and ignore
these fields. In future it could be possible to transfer raw bytes
from TiffField to TiffOutputField when the type is ASCII.

This gets the test suite to *finally* pass.



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