label text sizing help
Posted: 2012-08-21T19:49:04-07:00
Having an issue I just can't figure out. We've recently moved servers and some code that used to work on the old server is giving me some trouble. There seems to be a threshold on the label text length where once over a certain length it will no longer resize properly. For an example to show this it is easier to just set a fixed label and then resize the imageā¦ It will resize fine down to a certain width and then the text just goes to super small.
The only change is going from a size of 125x to 120x and the output is totally different.
Any ideas?
Version: ImageMagick 6.7.9-0 2012-08-21 Q16
The only change is going from a size of 125x to 120x and the output is totally different.
Any ideas?
Version: ImageMagick 6.7.9-0 2012-08-21 Q16
Code: Select all
/usr/local/bin/convert -size 125x15 -gravity center -background lightblue -fill '#324C7D' -font /usr/local/lib/ImageMagick/config/colle3.ttf label:'TEST HIGH SCHOOL' -rotate '0' -distort Arc '' test_label.png
Code: Select all
/usr/local/bin/convert -size 120x15 -gravity center -background lightblue -fill '#324C7D' -font /usr/local/lib/ImageMagick/config/colle3.ttf label:'TEST HIGH SCHOOL' -rotate '0' -distort Arc '' test_label.png