ImageMagick-文本装饰 - 线高
我想在ImageMagick的Convert这样创建的文本下有一条线条:
convert -size 5000x5000 xc:none -quality 100 -font Norwester -pointsize 720 -fill white -draw " decorate underline text 200,2500 \"T-SHIRT\"" out.png
它的工作原理很好,除了线的高度就像1像素一样,在720px字体下几乎看不见。
有什么方法可以更改我的代码以在我的文本下有更厚的线路?
我当前的IM版本是8:6.9.10.23+dfsg-2.1ubuntu11.4或8:6.9.11.60+dfsg-1.3。
I'd like to have a line under my text created by imagemagick's convert like this:
convert -size 5000x5000 xc:none -quality 100 -font Norwester -pointsize 720 -fill white -draw " decorate underline text 200,2500 \"T-SHIRT\"" out.png
which works pretty well except that the height of the line is like 1 pixel which is almost invisible under a 720px font.
Is there any way to change my code to have a thicker line under my text?
My current IM version is 8:6.9.10.23+dfsg-2.1ubuntu11.4 or 8:6.9.11.60+dfsg-1.3 .
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在IM 6.9.12-50 Q16上对我来说很好。下划线是文本字体的厚度。您有越野车版本,或者字体是问题。
Works fine for me on IM 6.9.12-50 Q16. The underline is the thickness of the text font. Either you have a buggy version or the font is the issue.