FREE Tool for watching coordinates in PDF

你说的曾经没有我的故事 提交于 2019-11-29 16:58:27

问题


Is there any tool in some PDF Viewer/Editor like Acrobat, Evince, etc. where I can navigate and watch coordinates(i.e. (x,y)) of any selected point in PDF-document?


回答1:


I've found that Gimp is perfect for this! It even has different units of measure, so this is my choice




回答2:


To explain @michael Z's answer, I found the following works:

These steps are for paint.net, but most image manipulation programs like The Gimp should be similar:

  1. open the pdf up in reader.
  2. screenshot it.
  3. paste into paint.net
  4. choose image > flip vertical.
  5. choose view >show rulers.
  6. Also tick pixels.
  7. Resize image to use inches and be 8.5 x 11 (if it's American letter) and 72 DPI.

Now use the rectangle select tool. The image is upside-down, so the upper-left of the tool is the lower-left for the .pdf and the lower right is the upper-right for the .pdf.

FYI - In Paint.Net, the bottom toolbar always shows the xy coordinates of the cursor.

It makes your eyes a bit squiffy to read documents upside-down for while, but at least you can now get a pretty good estimate of the locations on the document!

I found this description helpful too




回答3:


  1. CanOpener is a very impressive tool for working with PDF files. It operates as a plugin for Acrobat Pro - http://www.windjack.com/product/pdfcanopener/

  2. Another option would be to use the Foxit Phantom PDF Advanced Editor which allows you to select objects and see the properties of each object.

  3. You could use a library such as Quick PDF Library to render the image to a BMP file and then write yourself a little TOOL to scroll and zoom around the BMP file reporting back coordinated. http://www.quickpdflibrary.com - (Note : I do consulting work for Quick PDF)

  4. I am sure you could load the PDF into Adobe Illustrator and get the current coordinates in the status bar.

Andrew




回答4:


I use InkScape v 0.91 to map out PDF rectangles for extracting text. It can load a PDF into the canvas. Don't forget to change the measurements to inches (Ctrl-Shift-D) with the document open for the document properties. For the Page property tab set the Default Units to inches, for the Grids property tab set Grid Units to inches. This page, PDF coordinates, explains the PDF coordinate system, and its unit of measurement.




回答5:


If you are trying to do this without using Acrobat Pro because it not free, here is how you can do it. 1. download and install Acrobat Pro (yes seriously) 2. activate the trial version. if you already did this, it's okay 3. once the trial is done you will lose a bunch of tools from Acrobat, but you will definitely not lose the cursor coordinate tool

here is how to use it 1. go to the main menu strip, click view, and select show/hide 2. from here you can select cursor coordinate and voilà




回答6:


Apache PDFBox PDFDebugger 2.0.* displays PDF coordinates in the status bar. Get it here: https://pdfbox.apache.org/download.cgi

The 3.0.0 version has a few extra features unrelated to this question: https://repository.apache.org/content/groups/snapshots/org/apache/pdfbox/pdfbox-debugger/3.0.0-SNAPSHOT/




回答7:


I was looking for a tool to get the co-ordinates to use extract option available in PDFBox library. Gimp way worked well for my purpose. I opened the PDF in Gimp and set the measuring unit to points.




回答8:


There is ImageMagick which is lighter than Gimp and gives you coordinates along your mouse pointer.




回答9:


In case you don't want to install any heavy software for such a trivial task, you can create annotations in a xfdf file, set their location and then see which area is annotated in PDF.

You can use this template:

<xfdf xmlns="http://ns.adobe.com/xfdf/" xml:space="preserve">
    <annots>
        <square style="solid" width="4" color="#000000" opacity="1" creationdate="D:20190624111403Z" flags="print" date="D:20190624111403Z" page="0" rect="0,0,135,390.6" subject="ROI" title="ROI" />
    </annots>
    <pdf-info version="2" xmlns="http://www.pdftron.com/pdfinfo" />
</xfdf>

Change the coordinates of the "rect" attribute, save the file as xfdf. Then, as you open the xfdf file in Adobe reader, the reader will ask for the location of the PDF file. Locate the PDF document, and you will see the rectangle drawn at the specified coordinates.




回答10:


Adobe Reader has it.

Edit->Analysis->Geospatial Location Tool



来源:https://stackoverflow.com/questions/8971243/free-tool-for-watching-coordinates-in-pdf

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!