I was trying to add a text on pdf page 2
by the command
convert -density 300 input.pdf -pointsize 80 -draw "text 400,550 'HeLLO'" out.pdf
I can add the text on page 1.
But
convert -density 300 input.pdf -pointsize 80 -draw "text 400,550 'HeLLO'" out.pdf
Wont work on page 2.
I tried to split it and add text one by one but that is too slow.
Is there a way I can draw a text on both page 1 and 2 directly in one command?
Thanks!
Try:
Thinking about this it will only output page 2 and not the whole pdf?
Looking at this post https://stackoverflow.com/questions/10429311/creating-thumbnail-image-from-the-first-page-of-pdf you should be able to do: