pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tilman Hausherr <THaush...@t-online.de>
Subject AW: Re: About Stream
Date Wed, 20 Feb 2019 11:58:55 GMT
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: users@pdfbox.apache.org





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 <THausherr@t-online.de
<mailto:THausherr@t-online.de> >:

> 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 <gamboz@medialab.sissa.it
<mailto:gamboz@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
<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-unsubscribe@pdfbox.apache.org
<mailto:users-unsubscribe@pdfbox.apache.org>
> >> For additional commands, e-mail: users-help@pdfbox.apache.org
<mailto:users-help@pdfbox.apache.org>
> >>
> >>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
<mailto:users-unsubscribe@pdfbox.apache.org>
> For additional commands, e-mail: users-help@pdfbox.apache.org
<mailto:users-help@pdfbox.apache.org>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message