Quantcast

Sales:
(215) 821-7004

Digital Watermarks

It's simple to add text that is displayed on the Vuzit viewer and generated PDF files. This is typically used to identify the end-user that has access to a sensitive document. However, the text you specify in the watermark variable can be any arbitrary text.

Example

Note how this places a document watermark on the actual viewer making it easy to identify the end-user. A watermark is also placed on the PDF file when you press the Download or Print PDF button.

Usage

Vuzit provides two interfaces for creating document watermarks. The first is to use the Javascript API that provides control over the viewing interface, as well as when the end-user downloads the document. Vuzit also provides a Web Service API that can be used to directly download the document. Both of these methods require authentication to ensure integrity and non-repudiation against replay attacks.

Vuzit can optionally generate a PDF file when you submit a document. If this option is selected, then the generated PDF file will contain watermarks when using our APIs. Vuzit cannot place watermarks on the original file unless it is a PDF (e.g. Microsoft Word documents). However, Vuzit's extensive APIs make it easy for you to prevent access to the original document, and only making a watermarked PDF file available for download (or none at all).

Javascript API

The Viewer constructor methods are the standard way to create watermarks on the document (e.g. Viewer::fromId(), Viewer::fromUrl(), Viewer::initialize()).

Code:

viewer = vuzit.Viewer.fromId("1iin", {watermark: "John Doe: 03/21/10 05:04PM"});
viewer.display(document.getElementById("vuzit_viewer"), { zoom: 0, showPrintPdf: true, showDownload: false });

Web Service API

The Web Service API documentation explains all of the methods Vuzit provides for interacting with your account. The noteworthy areas for watermarking are as follows:

  • PDF documents are downloaded via the show method.
  • The watermark parameter passed to the show method is set to any arbitrary text that you want to appear on the resultant PDF document.
  • The signature parameter must be created with the same text as passed to the watermark parameter in the previous step.