yes there could be others. The numbers are combined with the existing 
current transformation matrix. That is the concatenation that the PDF 
specification mentions.

Tilman


------------------------------------------------------------------------
Gesendet mit der Telekom Mail App
<https://kommunikationsdienste.t-online.de/redirects/email_app_android_sendmail_footer>



--- Original-Nachricht ---
Von: Евгений Король
Betreff: Re: About Stream
Datum: 20.02.2019, 12:37 Uhr
An: [email protected]





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]
<mailto:[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]
<mailto:[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
<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]
<mailto:[email protected]>
> >> For additional commands, e-mail: [email protected]
<mailto:[email protected]>
> >>
> >>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
<mailto:[email protected]>
> For additional commands, e-mail: [email protected]
<mailto:[email protected]>
>
>

Reply via email to