Project Lead:Commons Developers URL:http://commons.apache.org/sanselan/ Description:
Sanselan is a pure-java image library for reading and writing a variety of image formats. This includes parsing of the image info (size, color space, icc profile etc.), metadata (ie. EXIF) and image data.
Apply "Build Improvements" patch from Niall Pemberton:
"""
I took a look at the propsed 0.96 relelase and have some suggestions to improve the build:
* Add standard manifest entries to jar
* Lock down version numbers for maven compiler, surefire and javadoc plugins
* generate sources jar for the release
* include the RELEASE-NOTES in the binary distribution
* include NOTICE/LICENSE files in the javadoc jar
"""
Fixed two issues in the PNG reader. Wasn't handling the 16-bit mode 4 PNGs properly. Also, wasn't gamma-correcting non-palette values properly in PNGs.
Added very helpful pngs (and variants) to the test suite and added a unit test around png->gif conversion.
Also, took the opportunity to remove some debuging statements and dead code.
Fixed two issues in the PNG reader. Wasn't handling the 16-bit mode 4 PNGs properly. Also, wasn't gamma-correcting non-palette values properly in PNGs.
Added very helpful pngs (and variants) to the test suite and added a unit test around png->gif conversion.
Also, took the opportunity to remove some debuging statements and dead code.
Small fix around parsing of invalid TIFF metadata in JPEG files. Added a "strict" flag to the parameter sets of certain read methods. When not in strict mode, Sanselan will ignore minor problems in image files that it parses. Sanselan now defaults to strict=false.