Hi,

Am 20.07.2011 23:36, schrieb Ken Bowen:
Hi all,

We have working code based on

org.apache.pdfbox.examples.pdmodel.RubberStampWithImage

which inserts jpeg b/w signatures with white backgrounds into pdf docs.  Now we 
need to refine this to make the white background transparent.  I see that 
PDJpeg.getRBGImage() makes use of soft masks:

      // If there is a 'soft mask' image then we use that as a transparency 
mask.

[Soft masks are new item for me.] My question is:

Has anyone made use of this, and if so, do you have advice for me, and/or 
examples you could provide?
Hmm, what exactly are you looking for? [1] shows how to render such an image and [2] is about adding one to a pdf.

Many thanks in advance,
Ken

HTH
Andreas Lehmkühler

[1] https://issues.apache.org/jira/browse/PDFBOX-323
[2] https://issues.apache.org/jira/browse/PDFBOX-513

Reply via email to