Log Message: |
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.
|