使用PHP将png文件转换为ico
问题描述:
我想创建一个将png文件转换为ico文件的PHP脚本。是不是可以用PHP做到这一点?怎么样?
I would like to create a PHP script that convert a png file to an ico file. Is it possible to do it just with PHP ? How ?
谢谢!!!
答
最近上传的 https://github.com/chrisbliss18/php-ico 创建有效的ICO文件,包括来自的多个嵌入式分辨率仅使用PHP和GD库的PNG文件和其他文件格式。
The recently uploaded https://github.com/chrisbliss18/php-ico creates valid ICO files including multiple embedded resolutions from PNG files and other file formats using only PHP and the GD library.