Use the removeWatermark action to remove a watermark from one or more pages in a PDF document. The following example shows how to remove a watermark from the entire PDF document and write the document to a new output file:
<cfpdf action="removeWatermark" source="artBook.pdf" destination="noWatermark.pdf">
The following example shows how to remove a watermark from the first two pages of a PDF document and overwrite the source document:
<cfpdf action="removeWatermark" source="artBook.pdf" destination="artBook.pdf" overwrite="yes" pages="1-2">
Because the source and the destination are the same and the overwrite attribute is set to yes, ColdFusion overwrites the source file with the output file.