问题
How to append a label under an image with a font size?
convert image.png -label "Test label" -pointsize 100 -gravity center -append image.png
回答1:
Like this:
convert image.png -pointsize 36 label:"Test label" -gravity center -append result.png
When you use xc:
, label:
, pattern:
and gradient:
(i.e. all the ones with no dash at the start and a colon at the end), ImageMagick creates a canvas for you to put the data on.
来源:https://stackoverflow.com/questions/33942892/imagemagick-append-a-label-under-image-with-font-size