how to wrap text in imagemagick

OCDSTEVE

New Member
I was able to figure a basic word wrap function like this\[code\] $draw = new ImagickDraw(); $x = 0; $y=20; $angle = 0; $str = "some text for testing of a word wrap in imagemagick";$str = wordwrap($str, 10,"\r");$im->annotateImage( $draw, $x, $y, $angle, $str );\[/code\]and that seems to work ok except that the tracking i think its called you know the space between lines is too much and thoughts or ideas on how to fix this or if there is a better option
 
Back
Top