possible bugs label: IM 6.7.9.0 Q16
Posted: 2012-08-21T22:05:59-07:00
IM 6.7.9.0 Q16 Mac OSX Snow Leopard
label: does not seem to work well/consistently when -size is specified
Reference: viewtopic.php?f=1&t=21715
Here are my tests:
Specify both width and height: Neither size is correct.
convert -size 120x15 -gravity center -background lightblue -fill '#324C7D' -font Arial label:'TEST HIGH SCHOOL' 1test_label1.png
convert -size 115x15 -gravity center -background lightblue -fill '#324C7D' -font Arial label:'TEST HIGH SCHOOL' 1test_label2.png
Specify just width: Only second width seems to work
convert -size 120x -gravity center -background lightblue -fill '#324C7D' -font Arial label:'TEST HIGH SCHOOL' 1test_label3.png
convert -size 115x -gravity center -background lightblue -fill '#324C7D' -font Arial label:'TEST HIGH SCHOOL' 1test_label4.png
No width or height specified: Works fine.
convert -gravity center -background lightblue -fill '#324C7D' -font Arial label:'TEST HIGH SCHOOL' 1test_label5.png
label: does not seem to work well/consistently when -size is specified
Reference: viewtopic.php?f=1&t=21715
Here are my tests:
Specify both width and height: Neither size is correct.
convert -size 120x15 -gravity center -background lightblue -fill '#324C7D' -font Arial label:'TEST HIGH SCHOOL' 1test_label1.png
convert -size 115x15 -gravity center -background lightblue -fill '#324C7D' -font Arial label:'TEST HIGH SCHOOL' 1test_label2.png
Specify just width: Only second width seems to work
convert -size 120x -gravity center -background lightblue -fill '#324C7D' -font Arial label:'TEST HIGH SCHOOL' 1test_label3.png
convert -size 115x -gravity center -background lightblue -fill '#324C7D' -font Arial label:'TEST HIGH SCHOOL' 1test_label4.png
No width or height specified: Works fine.
convert -gravity center -background lightblue -fill '#324C7D' -font Arial label:'TEST HIGH SCHOOL' 1test_label5.png