Posted on 2010-01-25 17:58:47.689684-08 by cdolan in response to 12241
Re: Manipulating XObjects

Oh, I see, I misunderstood your original request. It's not at all obvious how to get the xstream.

This might do the trick, but I have not tested it

my $property = $pdf->getProperty($pagenum, 'Fm1'); # check $property for undef here my $propval = $pdf->getValue($property); # check that $propval is a 'dictionary' node, perhaps my $xobject = $pdf->decodeOne($propval);
Direct Responses: 12245 | Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.