Resize image, then annotate with autosize text - how?
Posted: 2015-08-04T04:43:47-07:00
I'm trying to resize an image and then annotate it with autosizing text that should fit the 512x512 image canvas. This is my code:
The resize and crop seems to be working alright, but the annotation becomes tiny. if I specify a pointsize, it won't autosize, so am I doing something wrong? 
thanks guys
Code: Select all
convert "folder.jpg" -resize "512x512^" -gravity center -crop 512x512+0+0 +repage "folder.jpg"
SLEEP 1
convert -size 512x512 xc:none -gravity southeast -stroke white -strokewidth 50 -annotate 0 "test" -blur 0x15 -background none -stroke none -fill black -annotate 0 "test" "folder.jpg" +swap -gravity southeast -geometry +0-3 -composite "folder.jpg"

thanks guys