rust-icns
A Rust library for encoding/decoding Apple Icon Image (.icns) files.
Overview
The icns crate implements reading and writing of ICNS files, encoding and
decoding images into and out of an ICNS icon family, converting those images to
other pixel formats (in case you need to transfer the image data to another
library that expects the data in a particular format), and saving/loading those
images to/from PNG files.
The crate documentation has more information about how to use the library.
Example usage
extern crate icns;
use ;
use File;
use ;
Supported icon types
ICNS files can contain a number of different icon types. This library supports all known simple icon data types, but not additional metadata or nested entry types. See https://en.wikipedia.org/wiki/Apple_Icon_Image_format#Icon_types and https://github.com/relikd/icns-analysis for more information about each type.
License
rust-icns is made available under the MIT License.