GroupDocs.Watermark for Python via .NET

Create Watermarks for WEBP with Python

Add custom watermarks to WEBP files in Python—great for artists and content creators.

Quickly Add Watermarks to Webp 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 Webp 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 WEBP 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.webp") as watermarker:

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

    watermarker.add(watermark)

    # Save the WEBP file with the watermark
    watermarker.save("output.webp")
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 lets you add watermarks to WEBP images in Python. Use text, logos, or digital signatures, and adjust their look to fit your needs. Perfect for anyone sharing images online, GroupDocs.Watermark keeps your work safe and looking great.
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.

Protect WEBP Images with Python Watermarks

Add advanced, custom watermarks to WEBP images in Python to protect your creative work.

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