This is an additional component to the core image library that adds support for the ICO format.
Library is available as composer repository and can be installed using the following command in a root of your project.
composer require bic-engine/image-ico
$factory = new \Bic\Image\Factory();
$factory->extend(new \Bic\Image\ICO\ICODecoder());
// After adding the decoder, you can use the *.ico reading
$images = $factory->fromPathname('path/to/image.ico');
Bit Depth | Compression | Availability |
---|---|---|
8 bits | RGB | |
16 bits | RGB | |
24 bits | RGB | ✓ |
32 bits | RGB | ✓ |
X bits | RLE4 | |
X bits | RLE8 | |
X bits | BITFIELDS | |
X bits | JPEG | |
X bits | PNG | |
X bits | CMYK | |
X bits | CMYK + RLE4 | |
X bits | CMYK + RLE8 |