Hi All,
When I am trying to watermark a pdf with pdfbox1.4.0, I am getting the
following exception. Is there a way to handle this exception and still
continue with watermarking?
java.io.IOException: Unknown xobject subtype 'PS'
at
org.apache.pdfbox.pdmodel.graphics.xobject.PDXObject.createXObject(PDXObject.java:165)
at
org.apache.pdfbox.pdmodel.PDResources.getXObjects(PDResources.java:157)
at
org.apache.pdfbox.pdmodel.edit.PDPageContentStream.<init>(PDPageContentStream.java:193)
at
org.apache.pdfbox.pdmodel.edit.PDPageContentStream.<init>(PDPageContentStream.java:164)
at test.TestWaterMark.TestWaterMarking(TestWaterMark.java:75)
at test.TestWaterMark.main(TestWaterMark.java:166)
Thanks in advance,
Ramesh