Page 1 of 1

Arched or Arc Text with $image->Annotate ?

Posted: 2010-12-20T12:05:49-07:00
by viarun
Hello,

I see that the command line version of ImageMagick allows for two ways to have text follow a curve when using "convert -annotate"

#1: http://www.imagemagick.org/Usage/fonts/#arch
#2: http://www.imagemagick.org/Usage/fonts/#arc

I've tried various incantations with the perl API, and can't seem to generate curved text with the $image->Annotate method.

Any help would be appreciated.

I'm using version 6.5.7 of Image::Magick.

Re: Arched or Arc Text with $image->Annotate ?

Posted: 2011-01-05T21:00:39-07:00
by fmw42
the arc or arching is not achieved with annotate, but with -wave or -distort arc. look carefully at those examples and you will see that the annotate comes first and then the result is processed by one or the other of the above functions (all in one command line). In the API's you will need to call each separately I suspect, though I am not a user of any APIs only the command line.

Re: Arched or Arc Text with $image->Annotate ?

Posted: 2011-01-06T15:33:29-07:00
by el_supremo
In my MagickWand examples in C (see link in my sig) I have an example of text effects, one of which is arcing text. Annotate is used to draw the original text and then the image is distorted. Perhaps the C code will help you figure out how to do it with Perl.

Pete