Closed GoogleCodeExporter closed 9 years ago
I also wanted to note that I tried the code suggestions that I saw in Issue 8.
Adding the checks to determine if page.Contents was already a PdfArray seems to
prevent the error message, but converting this PDF to a Stream and using it as
an Overlay does not produce the expected results - the output document does not
contain the watermark.
Original comment by dancas...@gmail.com
on 4 Nov 2013 at 5:38
This is actually two issues. The first has been fixed by code on the master branch. The second is that the watermark file contains compression that is currently unsupported by pdfrw. (This is part of issue #5 )
You can use pdftk to uncompress the file:
pdftk sourcefile.pdf output destfile.pdf uncompress
and then the uncompressed watermark file will work.
Original issue reported on code.google.com by
dancas...@gmail.com
on 4 Nov 2013 at 5:23Attachments: