-1

我试过使用:

gm convert "source_image.jpg" -fill black -linewidth 50 -draw "line 100,100 100,200" output_image.jpg

但是 GraphicsMagick 绘制的线是 1px 宽。我也试过使用'strokewidth',但结果是一样的。

有谁知道我做错了什么?我正在使用 GraphicsMagick 1.3.16

4

1 回答 1

0

you could use -size, -crop x{+-}{+-}{%} or geometry

otherwise format %w (width) may do it.

于 2013-05-10T21:05:39.023 回答