add padding to texts with convert
Posted: 2016-04-25T23:28:03-07:00
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:
Also how do we add a padding to increase the background size and center the text?
My command is:
Code: Select all
convert myPdf.pdf -gravity southwest -fill "rgba(0,0,0,0.80)" -pointsize 10 -annotate +0+0 "This is my text." compose -multiply myDestination.pdf