一键生成各种尺寸Icon的php脚本方法
发表于:2025-11-09 作者:千家信息网编辑
千家信息网最后更新 2025年11月09日,这篇文章给大家介绍一键生成各种尺寸Icon的php脚本方法,内容非常详细,感兴趣的小伙伴们可以参考借鉴,希望对大家能有所帮助。实例如下:
千家信息网最后更新 2025年11月09日一键生成各种尺寸Icon的php脚本方法
这篇文章给大家介绍一键生成各种尺寸Icon的php脚本方法,内容非常详细,感兴趣的小伙伴们可以参考借鉴,希望对大家能有所帮助。
实例如下:
array ( array("width" => 180, "height"=> 180, "path"=>"ios8", "name"=>"Icon-180.png"), array("width" => 120, "height"=> 120, "path"=>"ios8", "name"=>"Icon-120.png"), array("width" => 152, "height"=> 152, "path"=>"ios8", "name"=>"Icon-152.png"), array("width" => 76, "height"=> 76, "path"=>"ios8", "name"=>"Icon-76.png"), array("width" => 144, "height"=> 144, "path"=>"ios8", "name"=>"Icon-144.png"), array("width" => 72, "height"=> 72, "path"=>"ios8", "name"=>"Icon-72.png"), array("width" => 114, "height"=> 114, "path"=>"ios8", "name"=>"Icon-114.png"), array("width" => 57, "height"=> 57, "path"=>"ios8", "name"=>"Icon-57.png"), array("width" => 100, "height"=> 100, "path"=>"ios8", "name"=>"Icon-100.png"), array("width" => 50, "height"=> 50, "path"=>"ios8", "name"=>"Icon-50.png"), array("width" => 80, "height"=> 80, "path"=>"ios8", "name"=>"Icon-80.png"), array("width" => 40, "height"=> 40, "path"=>"ios8", "name"=>"Icon-40.png"), array("width" => 58, "height"=> 58, "path"=>"ios8", "name"=>"Icon-58.png"), array("width" => 29, "height"=> 29, "path"=>"ios8", "name"=>"Icon-29.png"), ), "IOS" => array ( array("width" => 180, "height"=> 180, "path"=>"ios", "name"=>"Icon-60@3x.png"), array("width" => 120, "height"=> 120, "path"=>"ios", "name"=>"Icon-60@2x.png"), array("width" => 152, "height"=> 152, "path"=>"ios", "name"=>"Icon-76@2x.png"), array("width" => 76, "height"=> 76, "path"=>"ios", "name"=>"Icon-76.png"), array("width" => 144, "height"=> 144, "path"=>"ios", "name"=>"Icon-72@2x.png"), array("width" => 72, "height"=> 72, "path"=>"ios", "name"=>"Icon-72.png"), array("width" => 114, "height"=> 114, "path"=>"ios", "name"=>"Icon-57@2x.png"), array("width" => 57, "height"=> 57, "path"=>"ios", "name"=>"Icon-57.png"), array("width" => 100, "height"=> 100, "path"=>"ios", "name"=>"Icon-50@2x.png"), array("width" => 50, "height"=> 50, "path"=>"ios", "name"=>"Icon-50.png"), array("width" => 80, "height"=> 80, "path"=>"ios", "name"=>"Icon-40@2x.png"), array("width" => 40, "height"=> 40, "path"=>"ios", "name"=>"Icon-40.png"), array("width" => 58, "height"=> 58, "path"=>"ios", "name"=>"Icon-29@2x.png"), array("width" => 29, "height"=> 29, "path"=>"ios", "name"=>"Icon-29.png"), ) , "ANDROID" => array ( array("width" => 144, "height" => 144, "path" => "android/drawable", "name"=>"icon.png"), array("width" => 144, "height" => 144, "path" => "android/drawable-xhdpi", "name"=>"icon.png"), array("width" => 72, "height" => 72, "path" => "android/drawable-hdpi", "name"=>"icon.png"), array("width" => 48, "height" => 48, "path" => "android/drawable-mdpi", "name"=>"icon.png"), array("width" => 32, "height" => 32, "path" => "android/drawable-ldpi", "name"=>"icon.png") ) ); foreach ($IconArray["IOS8"] as $key => $IconType) { thumb("icon.png",$IconType['width'],$IconType['height'],$IconType['path'],$IconType['name']); } foreach ($IconArray["IOS"] as $key => $IconType) { thumb("icon.png",$IconType['width'],$IconType['height'],$IconType['path'],$IconType['name']); } foreach ($IconArray["ANDROID"] as $key => $IconType) { thumb("icon.png",$IconType['width'],$IconType['height'],$IconType['path'],$IconType['name']); } ?>关于一键生成各种尺寸Icon的php脚本方法就分享到这里了,希望以上内容可以对大家有一定的帮助,可以学到更多知识。如果觉得文章不错,可以把它分享出去让更多的人看到。
尺寸
方法
脚本
一键
生成
内容
更多
帮助
不错
兴趣
实例
小伙
小伙伴
文章
知识
篇文章
参考
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
中控门禁数据库恢复
嵌入式软件开发源代码
自学软件开发技术
湖南戴尔服务器单价
数据库import
支持跨服务器检索功能
四平量乘网络技术有限公司
绩溪进口软件开发服务解决方案
成都筑城软件开发有限公司
爱可生云树数据库数据备份步骤
互联网科技平台同城 可靠
c 服务器ip
图形数据库使用的数据
pm2.5数据库
数据库的审计
下面的不是数据库技术特点
攀枝花网络技术哪家好
IEEE节点标准数据库
重庆北斗授时模块服务器云主机
战地一联机匹配时离开服务器
计算机网络技术教程教案
护卫神主机大师服务器
桓台薪酬管理hr软件开发
奇趣森林网络技术
战争雷霆服务器丢失怎么办
日常网络安全行为
网络安全行业渠道销售好做么
软件开发配2台电脑配置
软件开发企业收入成本核算
安徽软件开发价格多少