GroupDocs.Watermark at a glance

Library designed for adding watermarks using Java technologies

Illustration watermark

Watermark Files via Java

Protect your business documents using GroupDocs.Watermark for Java. Add text, images, diagrams, or email attachments as watermarks to various file formats.

Customize Watermarks for Specific Needs

GroupDocs.Watermark for Java offers extensive customization options for watermarks. Adjust text styles (bold, italic, font) and image properties (rotation, etc.) to tailor the watermarking process to your specific goals.

Broad Format Support

GroupDocs.Watermark for Java seamlessly integrates with a wide range of file formats, including: PDF, Microsoft Office (Word, Excel, PowerPoint), images (JPEG, PNG, GIF, BMP), Visio diagrams, and emails. Enhance document security across diverse file types.

Effortless Watermark Search and Management

Efficiently manage existing watermarks within documents. Locate specific watermarks, modify their text, style, or images, or remove them entirely. GroupDocs.Watermark for Java simplifies the watermarking workflow.

Platform independence

GroupDocs.Watermark for Java supports various operating systems and package managers.

Amazon
Docker
Azure
Eclipse
IntelliJ
Windows
Linux
Maven

Supported file formats

GroupDocs.Watermark for Java enables processing of a wide range of file formats. See the complete list.

Microsoft Office & OpenDocument formats

  • Portable: PDF
  • Word: DOC, DOCM, DOCX, DOT, DOTM, DOTX, RTF
  • Excel: XLSX, XLS, XLT, XLTM, XLSB, XLSM
  • PowerPoint: PPTX, PPT, PPTM, POTX, POTM, PPSM, PPSX
  • OpenDocument: ODT, ODP, ODS

Images & Graphics

  • Popular image formats: BMP, JPG, JPEG, PNG
  • Multi-page images: GIF, WEBP, TIFF

Other

  • Outlook: EML, EMLX, MSG, OFT
  • Microsoft Visio: VSDX, VSTX, VSSX, VSDM, VSSM, VSTM, VSD, VDX, VSX, VTX, VSS, VST, VDW

GroupDocs.Watermark for Java : Features

Protect your files by adding watermarks. Supports various formats including PDF, Office documents, and images.

Feature icon

Files Watermarking

Add or remove watermarks from specific sections or entire documents for various supported file formats.

Feature icon

Watermark Customization

Customize your watermark’s appearance with options like color, font, rotation, and more.

Feature icon

Hidden Printing Watermark for PDF

Add a watermark that only appears when printing a PDF document.

Feature icon

Selective Image Watermarking

Watermark all images within a specific section, page, slide, or entire document.

Feature icon

Watermarking Specific Image Frames

Apply watermarks to specific frames within a multi-framed image.

Feature icon

Watermarking Attachments and Shapes

Add watermarks to all attachments in Excel documents or all image shapes in Presentations.

Feature icon

Watermark Alignment in PDF

Align watermarks to different areas of a PDF document, including Bleed Box, Art Box, Crop Box, and Trim Box.

Feature icon

Watermark by Background Images

Add or remove background image watermark to Spreadsheets or Presentations.

Feature icon

Protection with Unreadable Characters

Protect Presentations using Text Watermark with Unreadable Characters.

Feature icon

Search for Watermarks

Get list of watermarks presented in file, using various parameters including regular expressions.

Feature icon

Find Similar Image Watermarks

Locate image watermarks that looks like a specific image.

Feature icon

Extract Document Information

Get various document data like page setup for supported file formats.

Code samples

Explore code examples illustrating typical GroupDocs.Watermark for Java functionalities

Watermark a Document Using an Image

Utilize GroupDocs.Watermark for Java to enhance document security by adding image watermarks. Learn more: Image watermarks.

How to protect file by image watermark.

// Load source document to Watermarker
Watermarker watermarker = new Watermarker("document.pdf");

// Specify path to a watermark image
ImageWatermark watermark = new ImageWatermark("watermark.jpg");

// Protect the file and save it
watermarker.add(watermark); 
watermarker.save("result.pdf");

watermark.close();                                                                                               
watermarker.close();

Modify Watermarks

GroupDocs.Watermark for Java empowers you to manage existing watermarks within documents. Locate specific watermarks and modify their properties.

Watermarks search & modification.

// Load source document
Watermarker watermarker = new Watermarker("document.pdf");

// Search for watermarks to be updated
TextSearchCriteria searchCriteria = new TextSearchCriteria("test", false);                               
PossibleWatermarkCollection watermarks = watermarker.search(searchCriteria);                             

// Update desired properties
for (PossibleWatermark watermark : watermarks)                                                           
{  
    watermark.setText("New Text");
}

// Save modified document to a specified path
watermarker.Save("document.pdf");
watermarker.close();

Temporary license tips

1
Sign up with your work email.
Free mail services are not allowed.
2
Use Get a temporary license button on the second step.
 English