Page 1 of 1

add text by "annotate"

Posted: 2017-01-09T05:07:51-07:00
by danieles1981
Hi,
I've to add a text to a pdf. I use:

Code: Select all

convert /home/1.pdf -fill black -gravity South -annotate +0+15 'some text here' /home/2.pdf
How can I keep original text resolution?

Re: add text by "annotate"

Posted: 2017-01-09T06:39:02-07:00
by magick
You PDF is likely vector based-- if so you'll need a PDF editor to add text to the image. If you intent was to rasterize the image and annotate it, use super-sampling like this:

Code: Select all

convert -density 300 /home/1.pdf -fill black -gravity South -annotate +0+15 'some text here' -resize 25% /home/2.pdf

Re: add text by "annotate"

Posted: 2017-01-16T22:59:06-07:00
by anthony
See...

A Word about Vector Image formats
http://www.imagemagick.org/Usage/formats/#vector