Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
I am adding text with annotate, but the text is not centered and attached to the top.
Also how do we add a padding to increase the background size and center the text?
My command is:
I would suggest you create a text image using label: or caption: with a given background and -gravity center, trim it, then pad with the background color, then composite it over your other image at the desired location. See http://www.imagemagick.org/Usage/text/