I have been working on the PDF report task in recent days to test the itext and product_box frameworks.
In the API, I tried to find the text coordinates in the PDF file and the image coordinates. I did not find them through code tests (maybe my own capabilities are insufficient ).
Baidu and sogou searched it once (Google cannot be used, you know). One article says that this is none. In many sections, it is basically a content: "print all the text in the PDF.
There is a software (relatively old) called dpfedit, open the PDF document, each element in it (including the coordinates of the text, image, rotation, width and height) the detailed information is displayed in the suspended window.
Since itext and product_box are the framework for processing PDF files, the coordinates and length and width of each element must be obtained.
Thank you!
Various types of Ctrl + C, CTRL + V