You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@pdfbox.apache.org by "Hesham G." <he...@gmail.com> on 2010/11/07 08:52:44 UTC

Is there a difference between Watermark & Stamp ?

Hello everyone ,

What is the difference between a watermark and a stamp in PDF ?
I have seen nice examples in PDFBox to create stamps, but none to create watermarks. I guess it is not supported yet !


Best regards ,
Hesham

Re: Is there a difference between Watermark & Stamp ?

Posted by Ad...@swmc.com.
Take a look at table 102 in section 8.11.4.4 (Usage and Usage Application 
Dictionaries) of the PDF spec (I'm looking at version 1.7).
"A dictionary specifying that the content in this group is shall be used 
when printing. It may contain the following optional entries:
Subtype A name object specifying the kind of content controlled by the 
group; for example, Trapping, PrintersMarks and Watermark.
PrintState A name that shall be either ON or OFF, indicating that the 
group shall be set to that state when the document is printed from a 
conforming reader."

For more information on the subtypes, see section 12.5.6.1, and 12.5.6.22 
for specific details about a watermark.

I didn't read all the sections I just references, but after a quick look, 
it seems the main difference is that watermarks only appear on printed 
documents, where images would appear when viewing the document as well. 
PDFBox might already support watermarks, but if it doesn't it could 
probably be added without too much difficulty.  Section 12.5.6.22 has a 
nice example of how it's laid out in the PDF which you could reference. 
You could also use that to either verify that your test document actually 
has a real watermark, or to manually add a watermark to one of your test 
documents.

---- 
Thanks,
Adam



From:
"Hesham G." <he...@gmail.com>
To:
"pdfbox-send-question" <us...@pdfbox.apache.org>
Date:
11/07/2010 00:53
Subject:
Is there a difference between Watermark & Stamp ?



Hello everyone ,

What is the difference between a watermark and a stamp in PDF ?
I have seen nice examples in PDFBox to create stamps, but none to create 
watermarks. I guess it is not supported yet !


Best regards ,
Hesham


- FHA 203b; 203k; HECM; VA; USDA; Conventional 
- Warehouse Lines; FHA-Authorized Originators 
- Lending and Servicing in over 45 States 
www.swmc.com   -  www.simplehecmcalculator.com   Visit  www.swmc.com/resources   for helpful links on Training, Webinars, Lender Alerts and Submitting Conditions  
This email and any content within or attached hereto from Sun West Mortgage Company, Inc. is confidential and/or legally privileged. The information is intended only for the use of the individual or entity named on this email. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this email information is strictly prohibited, and that the documents should be returned to this office immediately by email. Receipt by anyone other than the intended recipient is not a waiver of any privilege. Please do not include your social security number, account number, or any other personal or financial information in the content of the email. Should you have any questions, please call (800) 453 7884.