Add a title

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
teebe
Posts: 20
Joined: 2011-04-30T04:34:28-07:00
Authentication code: 8675308

Add a title

Post by teebe »

How to add a title to a picture, controlling the pointsize, position, etc etc.
I tried convert -title but it get too far from my expectations, cropping title or reserving too wide empty space.
Also convert -append points too far from were i want to go...

Thank you

Tiberio
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Add a title

Post by fmw42 »

teebe wrote:How to add a title to a picture, controlling the pointsize, position, etc etc.
I tried convert -title but it get too far from my expectations, cropping title or reserving too wide empty space.
Also convert -append points too far from were i want to go...

Thank you

Tiberio

Where do you want the title to be placed? In the image or above or below the image?

If the former, you need to create some text as an image and then composite it over your image where you want it to be located.

see

http://www.imagemagick.org/Usage/text/
http://www.imagemagick.org/Usage/layers/#convert


A little more detail or example would be helpful. Also you should identify what version of IM and platform you are using.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Add a title

Post by anthony »

See Annotating Images
http://www.imagemagick.org/Usage/annotating/
It has all the examples you probably want.
The other seconds before it 'text to image' and 'compound fonts' gives you more options.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply