word wrap text in JMagick

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
User avatar
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

You could of course use standard Java string functions to decide where to break up a stream of text and render one line at a time with JMagick or you can write to a file with the caption: prefix, for example, "caption:This is a long winded paragrapth that seems ... to go on and on forever". If you need the image in memory, use a blob method. In the MagickCore API we use ImageToBlob(), not sure what JMagick uses.
Post Reply