This package enables loading and converting .ico files within PHP applications.
It requires no dependencies except for gd for image rendering.
composer require konradmichalik/php-ico-file-loader$loader = new KonradMichalik\PhpIcoFileLoeader\Parser\IcoFileService;
$im = $loader->extractIcon('/path/to/icon.ico', 32, 32);
imagepng($im, '/path/to/output.png');This project is a fork and further development of lordelph/icofileloader.
Please have a look at CONTRIBUTING.md.
This project is licensed under MIT.