Does anyone have any idea how to perform command-line PDF editing?
The sort of thing I am talking about is adding text to the document maybe even editing existing text if that's possible. (The PDF will be a poster for printing, I need to change some details and return it. The quality of the PDF is therefore important and converting (say) to JPEG, adding the content, then converting back, will probably not give adequate results (unless someone knows better?)
For test purposes I have tried things like: convert test.pdf test.png convert test.png test2.pdf .. and the quality difference between test.pdf and test2.pdf is noticable (colour definition has reduced, and the image has become grainy). In fact, even: convert test.pdf test2.pdf .. gives almost identical results to the via-jpeg test, which makes me think something like that is happening anyway.
It may be that I can improve the above tests with convert if anyone has any suggestions?