I use imagemagick to render a PDF (generated by pdfLaTex) as an image:
convert -density 120 test.pdf -trim test.png
Then I use this image in an HTML file (in order to include latex code in an own wiki engine).
But of course, the PNG file doesn't have any hyperlink the PDF file contains.
Is there any possibility to extract the coordinates and target URLs of the hyperlinks too, so I can build a HTML image map?
If it makes a difference: I only need external (http://) hyperlinks, no PDF-internal hyperlinks. A text-based solution like pdftohtml
would be unacceptable, since the PDFs contain graphics and formulars too.