Word wrap issues with caption
Posted: 2011-05-08T10:39:41-07:00
is this a bug in imagemagick? somehow when i type the following, word wrap works fine.
but when i add some garbage in the sentence the it goes off the canvas.....
Why is this? btw, I'm using IM 6.6.9-6 on Windows 7, I'm only testing on Windows, can someone help me determine if Linux has the same problem? I'm hoping this can work on Linux.
Code: Select all
convert -size 400x300 -font Arial-Bold -pointsize 40 -kerning -3 -interline-spacing -10 -gravity NorthWest -background black -fill white caption:"this is a very very very very very very long sentence to test for word wrapping for caption with image magick, the word wrap." -flatten output.png
Code: Select all
convert -size 400x300 -font Arial-Bold -pointsize 40 -kerning -3 -interline-spacing -10 -gravity NorthWest -background black -fill white caption:"this is a very very very very very very long sentence to test for word wrapping for caption dfg dfgdf gdfg fdgdfg dfg with image magick, the word wrap." -flatten output.png