Problem with outlining text
Posted: 2017-09-02T14:15:10-07:00
Hello!
Im having a bit of a problem, and I cant seem to figure out why. Im running ImageMagick ImageMagick 6.8.9-9 on a Raspberry Pi, OS Raspbian GNU/Linux 8 (jessie).
convert -size 800x120 -background yellow -font DejaVu-Sans -pointsize 40 \
-fill red -stroke black -strokewidth 1 \
label:"Album: This is a test!" -trim +repage album.png
This code was used to make multiple images, and it works fine on shorter strings, but once they reach a certain length it just stops in its tracks. Ive changed the colors to make it easier to see. The image needs to be dynamically sized to the text length.
Changing the text to ABCDEFGHIJKLMNOP results in:
What am I missing???
Thanks in advance!
Im having a bit of a problem, and I cant seem to figure out why. Im running ImageMagick ImageMagick 6.8.9-9 on a Raspberry Pi, OS Raspbian GNU/Linux 8 (jessie).
convert -size 800x120 -background yellow -font DejaVu-Sans -pointsize 40 \
-fill red -stroke black -strokewidth 1 \
label:"Album: This is a test!" -trim +repage album.png
This code was used to make multiple images, and it works fine on shorter strings, but once they reach a certain length it just stops in its tracks. Ive changed the colors to make it easier to see. The image needs to be dynamically sized to the text length.
Changing the text to ABCDEFGHIJKLMNOP results in:
What am I missing???
Thanks in advance!