You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@pdfbox.apache.org by Wulf Berschin <be...@dosco.de> on 2009/12/07 12:15:16 UTC

Watermarks

I was just looking for an example how to create watermarks with PdfBox, 
didn't find it. If it does not (yet) exist could someone please give me 
some hints how to implement it?

Thanks, Wulf


Re: Watermarks

Posted by Wulf Berschin <be...@dosco.de>.
Again Watermarks:

Apparently Acrobat uses Optional Content Groups (OCG), aka Layers, when 
creating
watermarks, e.g. via JavaScript function addWatermarkFromText. The 
advantage doing so is to be able to switch on and off this layer from 
Javascript.

How about OCGs in PDFBox? As far I can see there's no support yet. Is 
this on the roadmap? Does anyone succeeded in creating OCGs with PDFB 
and is do generous to shar his experience with us?

Wulf

Wulf Berschin schrieb:
> I was just looking for an example how to create watermarks with PdfBox, 
> didn't find it. If it does not (yet) exist could someone please give me 
> some hints how to implement it?
> 
> Thanks, Wulf
>