GroupDocs.Watermark for Python via .NET

Create Watermarks for TIFF with Python

Add strong, custom watermarks to TIFF files in Python—ideal for digital archives and photographers.

Quickly Add Watermarks to Tiff Files

GroupDocs.Watermark for Python via .NET: A powerful Python library that lets you add watermarks to your documents with ease.

  1. Main Class: Watermarker. Start by creating a Watermarker object. Give it your Tiff file, either as a file path or a stream, to get started.
  2. Build Your Watermark. Next, make a Watermark object of the type you want. You can place it on any page or even in document elements like images or headers.
  3. Adjust the Look. Set up the watermark’s size, position, font, and color to match your needs.
  4. Add and Save. Use the Watermarker method to insert your watermark. Add as many as you want, then save the file wherever you like.
# Add an image watermark to a TIFF file
import groupdocs.watermark as gw
import groupdocs.watermark.watermarks as gww
import groupdocs.watermark.common as gwс

# Pass the file path to the Watermarker constructor
with gw.Watermarker("input.tiff") as watermarker:

    # Create an image watermark using your image file
    watermark = gww.ImageWatermark("watermark.png")

    watermarker.add(watermark)

    # Save the TIFF file with the watermark
    watermarker.save("output.tiff")
pip install groupdocs-watermark-net
click to copy
copied
More examples Documentation

Discover More Watermarking Tools

GroupDocs.Watermark for Python via .NET gives you advanced options for adding and customizing watermarks in many file types. Protect your documents and images with flexible, easy-to-use features.

All-in-one Watermarking

Full-Page Tiling

Cover your entire document with tiled watermarks. This makes it hard to remove watermarks and keeps your files protected without ruining the layout.

Custom Colors

Pick any color for your watermark to match your brand or document style. Make your watermark stand out or blend in as needed.

Extra Security Options

Boost your document security with layered watermarks. Combine visible and hidden marks to prevent copying and make sure only the right people can access your files.

Add a Watermark to PowerPoint

This sample shows how to put a watermark on the background of PPTX slides.

Python

import groupdocs.watermark as gw
import groupdocs.watermark.watermarks as gww
import groupdocs.watermark.options as gwo
import groupdocs.watermark.options.presentation as gwop

# Open a PPTX file
load_options = gwop.PresentationLoadOptions()
with gw.Watermarker("source.pptx", load_options) as watermarker:

    # Set watermark details
    with TextWatermark("Protected image", gww.Font("Arial", 8.0)) as watermark:

        watermark.horizontal_alignment = gwс.HorizontalAlignment.CENTER
        watermark.vertical_alignment = gwс.VerticalAlignment.CENTER
        watermark.rotate_angle = 45
        watermark.scale_factor = 1

        # Apply watermark to slide backgrounds
        watermarker.add(watermark)

        # Save the updated presentation
        watermarker.save("result.pptx")

GroupDocs.Watermark for Python via .NET

GroupDocs.Watermark for Python via .NET is a Python toolkit for adding watermarks to TIFF files. Choose text or image watermarks, set their opacity, size, and position, and keep your images safe. With features like watermark layering and smart formatting, GroupDocs.Watermark is a must-have for anyone who needs to protect their image collections.
Learn more
About illustration

Ready to get started?

Download GroupDocs.Watermark for free or get a trial license for full access!

Useful resources

Explore documentation, code samples, and community support to enhance your experience.

Secure TIFF Images with Python Watermarks

Add and manage watermarks in TIFF files in Python to keep your images safe and under your control.

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