XPost: comp.text.pdf
On 24/05/2024 01:04, Andrew wrote:
I have a PDF with a link in it of the form:
http://domain.com
in a million places (usually at the top, bottom or middle of a page
that is mostly empty - where all I want to do is delete it
completely.
I want to delete those links, and the only PDF editor I know of that
will delete them easily is the Adobe Acrobat (writer) but it deletes
them one by one. Yuck. I'm doing that, but is there a better way?
I have in the past had good success by converting the document to
Postscript, finding the pattern of the offending links, and running a
stream editor, then converting back to PDF, eg
pdf2ps foo.pdf | sed -e "s+
http://domain.com++g" | ps2pdf >foo2.pdf
Peter
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)