使用PHP将png文件转换为ico [英] Convert png file to ico with PHP
本文介绍了使用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 ?
谢谢!!!
推荐答案
最近上传的< a href =https://github.com/chrisbliss18/php-ico =noreferrer> 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.
这篇关于使用PHP将png文件转换为ico的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文