Adding Text to Image with ImageMagick

Q

How to add text caption to images with ImageMagick? Can I use the ImageMagick "convert -draw" command to add text to images?

✍: FYIcenter.com

A

Yes. You can use ImageMagick "convert -draw" command to add test to images. You can test it out in these steps:

C:\fyicenter>convert -font courier -pointsize 128 
   -draw "text 300,300 'Hello World'" test.jpg test-text.jpg

C:\fyicenter>imdisplay test-text.jpg

You should see "Hello World" text added to the image.

2013-11-19, 6369🔥, 0💬