N
Nick Hayworth
Hi all
just wondering if it's possible to convert a string to an image x pixels
wide. The text should automatically wrap at x pixels. i can do this using
ImageMagick's convert utility :
convert -size 200x -font Tahoma -pointsize 20 caption:"My very long caption
which should wrap at 200 pixels" output.gif
I looked at the annotate method in RMagick but it looks like I need to
specify the image dimensions. Can anyone suggest how I might get the effect
I want using RMagick?
just wondering if it's possible to convert a string to an image x pixels
wide. The text should automatically wrap at x pixels. i can do this using
ImageMagick's convert utility :
convert -size 200x -font Tahoma -pointsize 20 caption:"My very long caption
which should wrap at 200 pixels" output.gif
I looked at the annotate method in RMagick but it looks like I need to
specify the image dimensions. Can anyone suggest how I might get the effect
I want using RMagick?