RastaM wrote:
> In my pdf the contentstream looks like this:
> 
> q BT 36 806 Td ET Q
> q 1 0 0 1 0 0 cm /Xf1 Do Q
> q 182 0 0 130 213.84 168.26 cm /img0 Do Q
(snip)
> Does anyone know how i can
> access the contentstream in /Xf1? 

Your snippet is part of a larger whole. For instance:
if it's part of a page (if the /Contents entry of a page
dictionary refers to that stream), you'll also find an
entry /Resources in that page dictionary.

One of the entries in this resources dictionary is named
/XObject. In your case, this dictionary will have an entry
/Xf1 that will refer to the content stream of that XObject.

> (I have deleted the images in the xobjects..)

Er... if you found the XObjects and deleted the images,
then what exactly is the problem? Maybe you forgot to
remove the /Img0 entries from the resources dictionaries?
-- 
This answer is provided by 1T3XT BVBA

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar

Reply via email to