打开主菜单
首页
随机
登录
设置
关于wrc's Wiki
免责声明
wrc's Wiki
搜索
更改
←上一编辑
下一编辑→
ImageMagick
(查看源代码)
2021年5月12日 (三) 07:11的版本
添加193字节
、
2021年5月12日 (三) 07:11
无编辑摘要
第22行:
第22行:
<syntaxhighlight lang=bash>
<syntaxhighlight lang=bash>
convert input.png -fill none -draw 'color 1,1 floodfill' output.png
convert input.png -fill none -draw 'color 1,1 floodfill' output.png
+
</syntaxhighlight>
+
+
=== 将透明部分变为某个颜色 ===
+
+
<ref>https://superuser.com/a/214023</ref>
+
+
<syntaxhighlight lang=bash>
+
convert input.png -background '#51c3c5' -mosaic output.png
</syntaxhighlight>
</syntaxhighlight>
Weirane
行政员
、
管理员
528
个编辑