Hello. Why a got this matrix in one of pdf? q 0 319 -118 0 4866 1373.73 cm /R20 Do Q q 0 319 -118 0 4866 1373.73 cm /R21 Do Q q 0 319 -118 0 4866 1373.73 cm /R20 Do Q Numbers like 4866 and 1373 takes me coordinates bigger than page dimension. Maybe its not only this matrix multiplying when i compute coordinates for image?
пн, 18 февр. 2019 г. в 11:03, Tilman Hausherr <[email protected]>: > 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 <[email protected]>: > > > >> 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: [email protected] > >> For additional commands, e-mail: [email protected] > >> > >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >

