Ann*_*Fay 29 linux command-line
我正在寻找一个 xpm 图标用作占位符,直到我做出更好的东西。
是否有任何 Linux 命令行工具可以创建指定尺寸的空白图像?就像人们touch
用来创建空白文本文件一样。
crn*_*rnv 54
可以使用convert
来自ImageMagick的命令:
要创建具有白色背景的 32x32 图像:
convert -size 32x32 xc:white empty.jpg
Run Code Online (Sandbox Code Playgroud)
要创建具有透明背景的 32x32 图像:
convert -size 32x32 xc:transparent empty2.png
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
29083 次 |
最近记录: |