Page 1 of 1
Highlight hyperlinks in PDFs?
Posted: 2008-11-13T17:40:06-07:00
by pststerrye
My PDFs contain hyperlinked text, which seems to have been automatically linked. However, the only way you know it is a link is when you move the cursor over it. Is there any way to automatically highlight all hyperlinks in a document? Is there a way to do this with ghostscript, or with any other software/code?
These are text links, not the "insert hyperlinks" that you do with Acrobat...they are just text in the document, that is a link.
Thanks!
Re: Highlight hyperlinks in PDFs?
Posted: 2008-11-13T18:01:06-07:00
by fmw42
pststerrye wrote:My PDFs contain hyperlinked text, which seems to have been automatically linked. However, the only way you know it is a link is when you move the cursor over it. Is there any way to automatically highlight all hyperlinks in a document? Is there a way to do this with ghostscript, or with any other software/code?
These are text links, not the "insert hyperlinks" that you do with Acrobat...they are just text in the document, that is a link.
Thanks!
Sorry, but I don't understand the difference? Can you explain or give an example. A link is a link whether it goes outside your document or stays within it. The only app that I know of that can do that is Acrobat. But perhaps other users are more knowledgeable. Can't you go into Acrobat and change the way the link is highlighted to be a color background or an underline?
If you had an app to do what you want, what is your end objective? Are you trying to convert the document from PDF to some other format and want the links to be identified (highlighted or undelined) in some way?
Re: Highlight hyperlinks in PDFs?
Posted: 2008-11-14T07:39:54-07:00
by pststerrye
Sorry this isn't clear - here's a little more info.
When there is a hyperlink in Word, it shows up in blue and is underlined. If you make a PDF of that Word document, those hyperlinks stay blue and underlined, so the reader can see that they are links. Maybe this is because the link was visible in Word.
So, I have a client makes a PDF from his InDesign document. The links are not visible, and I don't know for sure whether Indesign has them classified as hyperlinks. He has done nothing to the document to make the links - either Indesign does it automatically, or when he Saves as PDF the distiller is doing it. All I know is that when he gives me the PDF, I can open it and when I click on
http://www.anything.com they are links. What I want is that these links will have a visual cue - like be blue, underlined, highlighted in yellow, or anything to make them stand out.
I know that I could manually go into the PDF and highlight the links with Acrobat. Maybe he could manually go into InDesign and highlight the links and then they would show up in the resulting PDF.
What I'm wondering is whether there is another way to process a PDF with PHP/ghostwriter (or any other open source scripts), and automatically find the links and highlight them in some way. The document is 25 pages and a new one is added weekly, so automating the process would save a lot of time.
Thanks!
Re: Highlight hyperlinks in PDFs?
Posted: 2008-11-16T21:00:48-07:00
by anthony
I am afraid you are asking the wrong forum. This forum is on processing RASTER images with ImageMagick.
PDF and handling hyperlinked text is a vector image problem, and nothing to do with image processing.
I suggest you try some other forum. Sorry.