Is there any way to generate an image in ImageMagick with text on a curved path? I need to be able to do both examples. Any ideas? Thanks in advance.
Examples:
Curved text up
Curved text down
Text on a Curved Path
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
It will be added at some point in the future as it is part of SVG image handling, but currently actually drawing text on a curved path is not directly posible with IM.
Currently the only way IM can to do this, exactly as shown, is to use some very tricky stuff involving Distortion Maps.
http://www.cit.gu.edu.au/~anthony/graph ... stort_maps
The IM Examples have some good examples on distortion maps, and I have been planing an example in wrapping an image around a circle, but never got back to it.
Currently the only way IM can to do this, exactly as shown, is to use some very tricky stuff involving Distortion Maps.
http://www.cit.gu.edu.au/~anthony/graph ... stort_maps
The IM Examples have some good examples on distortion maps, and I have been planing an example in wrapping an image around a circle, but never got back to it.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
Thanks for the information anthony....
I was doing some research and tried this command out....
It works somewhat... but I want the text to not be distorted/skewed. Just placed on a path, and also the command would have to be adjusted for each font, size, and string length which will all be dynamic.
Any other ideas anyone? Thanks.
I was doing some research and tried this command out....
Code: Select all
convert -size 250x80 xc:white -font Verdana -pointsize 18 -annotate +25+65 "Text on a Curved Path" -wave -60x500 -crop x110+0+10 test.jpg
Any other ideas anyone? Thanks.
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Currently that is NOT posible with IM, yet.
However it is posible in SVG, and that IM can decode and convert to images using the RSVG utility.
However it is posible in SVG, and that IM can decode and convert to images using the RSVG utility.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
Re: Text on a Curved Path
Reread post and I gave an incorrect answer.
WHY can't we delete posts ?
WHY can't we delete posts ?
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: Text on a Curved Path
No it is not posible yet, and probably will not be for a long time. Gradient abilities are only just being intergrated into the MVG drawing engine.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/