You can use the PDFStreamParser class, see the RemoveAllText.java example.

0 319 -118 0 4866 1373.73 cm

is a transform ("Concatenate matrix to current transformation matrix"). That is explained in the PDF specification in "8.3.2 Coordinate Spaces". Yes, it influences the size and the position (and more, here: rotation) of the image.

Tilman


Am 18.02.2019 um 06:57 schrieb Евгений Король:
Hello. I found parsing Operators but i need to parse Content.
q
   0 319 -118 0 4866 1373.73 cm
   /R21 Do
Q
I need to know what is this numbers at second line mean. Maybe it is Width
and Height of Image and position on page?

пт, 15 февр. 2019 г. в 18:50, Matteo Gamboz <gam...@medialab.sissa.it>:

On Fri, 15 Feb 2019 06:54:47 +0100,
Евгений Король wrote:

  I try to parse it for some image settings
Maybe the example PrintImageLocations.java can be useful

https://svn.apache.org/viewvc/pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/util/PrintImageLocations.java?view=markup






---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: users-h...@pdfbox.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: users-h...@pdfbox.apache.org

Reply via email to