Wrap text in rmagick

Anyone know how to wrap text with rmagick using the annotate method? I
found the Image.read(“caption:my text”) method - but I’d like to be
able to use the annotate method…

thanks!

otown wrote:

Anyone know how to wrap text with rmagick using the annotate method? I
found the Image.read(“caption:my text”) method - but I’d like to be
able to use the annotate method…

thanks!

If you mean automatically wrap to the image size, annotate can’t do
that. If you just want to wrap lines, separate the lines with \n
characters.