> Add support for the ICNS icon format
> Key: IMAGING-56
> URL: https://issues.apache.org/jira/browse/IMAGING-56 > Project: Commons Imaging
> Issue Type: New Feature
> Environment: All
> Reporter: Damjan Jovanovic
> Priority: Minor
> Fix For: 1.0
> Attachments: icns-images.tar.bz2, sanselan-icns.patch
> Original Estimate: 0h
> Remaining Estimate: 0h
> I am submitting a patch that adds support for the Apple ICNS icon format. It supports reading, writing, getting the image info, and dumping the icons, and contains insightful tests.
> This is, to my knowledge, the most correct open source ICNS parser in existence at the moment, and the only one to contain any detailed tests. It deals with an extensively investigated compression quirk in 128x128 images, uses the same alpha mask search order used by MacOS, and has been thoroughly tested for conformance against MacOS itself. It correctly parses all the ICNS files that ship with MacOS.
> The only missing feature is support for 256x256 and 512x512 icons, but that requires JPEG2000 decompression which Sanselan doesn't have at the moment.