Insert text over an image within a circle

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
avinashkarhana
Posts: 1
Joined: 2018-07-10T03:29:25-07:00
Authentication code: 1152

Insert text over an image within a circle

Post by avinashkarhana » 2018-07-10T04:09:18-07:00

I am trying to add text over an image with circular border.(a text insie of circle)
something likeImage

using ImageMagick-7.0.8-Q16 onn windows

snibgo
Posts: 10563
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Insert text over an image within a circle

Post by snibgo » 2018-07-10T07:44:47-07:00

Read an image, then draw a circle, then write the text. For example:

Code: Select all

magick toes.png -draw "translate %[fx:w/2],%[fx:h/2] circle 0,0 0,100" -gravity Center -fill White -annotate 0 "Hello world" circtext.jpg
Image
snibgo's IM pages: im.snibgo.com

Post Reply