What style options can be used with the CAPTION: format?

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
rmagick
Posts: 245
Joined: 2006-03-16T17:30:48-07:00
Location: Durham, NC, USA

What style options can be used with the CAPTION: format?

Post by rmagick »

I'm trying to put together a list of convert options that can be used with the caption: format to control the font and font style used in the caption image. I have these: antialias, font, density, pointsize, bordercolor, fill, stroke, strokewidth, undercolor, and gravity. Is this accurate and complete?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: What style options can be used with the CAPTION: format?

Post by magick »

Your list appears complete and accurate. To verify, see GetDrawInfo() in magick/draw.c and check which clone_info members are assigned to the draw_info structure.
rmagick
Posts: 245
Joined: 2006-03-16T17:30:48-07:00
Location: Durham, NC, USA

Re: What style options can be used with the CAPTION: format?

Post by rmagick »

Thanks!
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: What style options can be used with the CAPTION: format?

Post by anthony »

You can add '-size' to it.

I try to note all options and there effects in IM examples, Text to Image
http://imagemagick.org/Usage/text/
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
rmagick
Posts: 245
Joined: 2006-03-16T17:30:48-07:00
Location: Durham, NC, USA

Re: What style options can be used with the CAPTION: format?

Post by rmagick »

Thanks!
Post Reply