Provide a way to write EXIF data into files using Sanselan.writeImage().
SanselanConstants get a PARAM_KEY_EXIF, similar to PARAM_KEY_XMP_XML,
which references a TiffOutputSet containing EXIF tags to be written
into the image. Only 2 file image formats support support EXIF: JPEG
and TIFF. Since Sanselan's JPEG currently doesn't write files at all,
only TIFF has been patched, and what it does is merge the TiffOutputSet
given by the user with the TiffOutputSet generated by writing the image,
not allowing the user's one to override any tags generated internally,
but otherwise allowing any field and any directory to be written
into the output file.

Also eliminates Java < 5 boxing of primitives (Findbugs).



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