I converted a PDF to XML using pdftohtml from the Poppler utils. This gives the co-ordinates for the text in the PDF. I also converted PDF to image, using the convert tool from ImageMagick. When I search for the same coordinate in the image I do not find the text pointed to by the XML:
The first link shows the text marked "BILL TO" at top=182. The second Link shows the same text "BILL TO" but the coordinates are different.
My question is: how do I find the relation between the coordinates from both XML and image format?
Any help would be appreciated.