pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tilman Hausherr <THaush...@t-online.de>
Subject Re: About Stream
Date Mon, 18 Feb 2019 06:03:24 GMT
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>:
>
>> 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-unsubscribe@pdfbox.apache.org
>> For additional commands, e-mail: users-help@pdfbox.apache.org
>>
>>


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


Mime
View raw message