Curve or circle text

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
lavige777

Curve or circle text

Post by lavige777 »

Hello
I need to draw text on the image in curve or circle. Is it possible to draw text for example around the wheel?
Thanks for any help
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Curve or circle text

Post by anthony »

Not directly, though it should be posible at some point as drawing text along a 'path' (curved or otherwise) is part of the SVG standard.

In the mean time you can distort a text image....

Vertical Arc (simple)
http://www.imagemagick.org/Usage/fonts/#arch
Circular Arc Distortion...
http://www.imagemagick.org/Usage/distor ... irclar_arc
Polar Distortion...
http://www.imagemagick.org/Usage/distorts/#map_polar

Watch the disjunction or asymptote in the mapping for polar.

I am hoping to create a generalised distort handling function that we
can add distorions to, and as a result will proparly handle the
asymptote in the above.

Affine and perspective maps can be classed as special cases of this
generalised distorter, which I want to be simple enough to add lots
of different distotions (with simple arguments) for people to use.

Ideas welcome.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply