Copy link to clipboard
Copied
Hi,
I want to get the vector image coordinates from PDF files. I have try to lot ways but did not take the values.Please give the solutions for this query.
Copy link to clipboard
Copied
Images are not vectors. But you can get their coordinates if you write a C++ plugin for Acrobat Pro.
Copy link to clipboard
Copied
How to get this container name and coordinates from PDF file using C++ plugin.
Copy link to clipboard
Copied
You could also use a tool like PDFCanOpener to discover what type of things are on the page and also get the coordinates of those things.
https://www.windjack.com/product/pdfcanopener/
Copy link to clipboard
Copied
What exactly are you trying to do?
Copy link to clipboard
Copied
I want to get this vector image coordinates values.
Copy link to clipboard
Copied
These are either images or they are vectors. They CANNOT be both. You also mark text. This is not image, nor vector. Text is a different kind of thing. The PDFEdit calls in a C++ plug-in can be used to get all the data including
- graphics transformation matrixes (which define position and scale)
- starting position for text run, and characters included
- bezier curves for vectors
You would iterate through all the graphical objects on a page. You see ALL the objects on the page, so you have to write code to pick out the relevant objects, and get their properties. This is not a task for a beginner with C++, or a beginner with the API, or the a beginner with computer graphics. I recommend reading the "text" and "graphics" chapters from the PDF Reference; these few hundred pages of documentation are really necessary preparation for working with the PDFEdit API.