convert -background none -size 200x100 -font Georgia -pointsize 72 -gravity center -fill black label:"THỎ" o2.png
convert -background white -size x100 -font Georgia -pointsize 72 -gravity center -fill black label:"THỎ" o1.png
convert -background white -font Georgia -pointsize 72 -gravity center -fill black label:"THỎ" o.png
For my purpose, I can't actually set the size because I want to ultimately create the images of each letter with a different color and combine them together (using +append).
Is there a work around for this?
My imagemagick version:
Code: Select all
convert -version
Version: ImageMagick 7.0.8-53 Q16 x86_64 2019-07-09 https://imagemagick.org
Copyright: © 1999-2019 ImageMagick Studio LLC
License: https://imagemagick.org/script/license.php
Features: Cipher DPC HDRI Modules OpenMP(3.1)
Delegates (built-in): bzlib freetype heic jng jp2 jpeg lcms ltdl lzma openexr png tiff webp xml zlib