【发布时间】:2018-10-04 15:53:16
【问题描述】:
我正在尝试让图像中包含一个又大又丑的透明 ALPHA。到目前为止,我有这个代码:
gm convert \
-background transparent \
-fill '#5968c3' \
-font Arial \
-size 140x80 \
-pointsize 190 \
-gravity center \
-draw "text 0,0 ALPHA" \
-matte \
-pointsize 16 \
-gravity southeast \
-draw "text 10,10 \"©2018 Hunter Ltd\"" \
input.png \
output.png
这给了我很好的纯色。
如何使该颜色 75%(比如说)透明?
这是我目前拥有的:
【问题讨论】:
-
尝试将 -fill '#5968c3' 更改为 -fill '#BF5968c3'
-
@Bonzo 这并没有像我想象的那样......我现在在浅粉色矩形中用粉色绘制了字母。
-
我喜欢粉色系吗?我想知道十六进制颜色是否在 6 个字符处被截断?我想知道 RGBA 值是否有效:rgba(89,104,195,0.75)
-
遗憾的是没有。 \20char
标签: image-processing imagemagick graphicsmagick