GroupDocs.Watermark for .NET

Generate Watermarks for WEBP with C#

Create and apply custom watermarks to WEBP files using .NET C#, perfect for digital artists and content creators needing to secure their work.

Effortlessly Generate Watermarks for Webp Documents

GroupDocs.Watermark for .NET: Advanced Watermarking library for .NET applications. Empower your solution and secure documents with watermarks just in time.

  1. Core Class: Watermarker. The main class of our API is Watermarker. You need to instantiate it before document processing. Do not forget to pass the Webp file to the constructor as a path or a stream object.
  2. Crafting Your Watermark. The next step is constructing a Watermark object of the desired type. It can be placed not only on a specific document page but also in native document parts like images or headers.
  3. Fine-Tuning Appearance. Set watermark properties such as height and width, top, left, central alignments, fonts and colors, etc.
  4. Applying and Saving. Use the Watermarker method to add a new watermark. Feel free to add as many watermarks as you need. You may save the watermarked document to any location.
// Generate image watermark in WEBP file

// Provide source file path to Watermarker constructor
using (Watermarker watermarker = new Watermarker("input.webp"))
{
    // Generate image watermark instance with image file
    using (ImageWatermark watermark = new ImageWatermark("watermark.png"))
    {
        watermarker.Add(watermark);
    }
    // Save watermarked WEBP result
    watermarker.Save("output.webp");
}
dotnet add package GroupDocs.Watermark
click to copy
copied
More examples Documentation

Elevate Your Watermarking Game

Unlock advanced watermarking capabilities with our GroupDocs.Watermark API for .NET. This powerful tool allows for precise customization and application of watermarks across various document types to ensure maximum security and copyright adherence with minimal visual disruption.

Comprehensive Watermarking Solutions

Sophisticated Tiling Options

Extend your watermarks across entire documents seamlessly with our tiling options. This feature allows watermarks to cover the full document area, preventing removal and ensuring complete document protection without compromising on design or readability.

Vibrant Color Customization

Add a splash of color to your watermarks! Our API enables full spectrum color customization, allowing you to apply watermarks that perfectly match your corporate branding or document style. Enhance visual appeal while maintaining robust security features.

Enhanced Security Settings

Take document security to the next level with advanced watermark settings. Configure multi-layer watermarks, incorporating both visible and invisible elements, to protect against unauthorized copying and ensure only intended recipients can access critical information.

Generate PowerPoint watermark

This example shows how to add watermark to the PPTX background images

C#


    //  Load PPTX presentation
    var loadOptions = new PresentationLoadOptions();
    using (Watermarker watermarker = new Watermarker("source.pptx", loadOptions))
    {
        //  Set up watermark properties
        TextWatermark watermark = new TextWatermark("Protected image", new Font("Arial", 8));
        watermark.HorizontalAlignment = HorizontalAlignment.Center;
        watermark.VerticalAlignment = VerticalAlignment.Center;
        watermark.RotateAngle = 45;
        watermark.SizingType = SizingType.ScaleToParentDimensions;
        watermark.ScaleFactor = 1;

        //  Watermark slides background
        PresentationContent content = watermarker.GetContent<PresentationContent>();
        foreach (PresentationSlide slide in content.Slides)
        {
            if (slide.ImageFillFormat.BackgroundImage != null)
            {
                slide.ImageFillFormat.BackgroundImage.Add(watermark);
            }
        }

        //  Save processed presentation
        watermarker.save("result.pptx");
    }

GroupDocs.Watermark for .NET

GroupDocs.Watermark for .NET provides developers with the capabilities to generate, compose, and add sophisticated watermarks to WEBP images via .NET C#. This API allows for precise customization of watermarks including text, logos, and digital signatures. Tailor your watermark’s opacity, size, and positioning to achieve perfect integration without compromising the image’s aesthetics. Ideal for photographers, graphic designers, and any professional involved in producing and distributing digital images, GroupDocs.Watermark ensures that your copyrights are securely embedded within your WEBP files. Compatible with all modern .NET frameworks, it enhances image security with minimal impact on the visual quality.
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.

Securing WEBP Images with .NET C# Watermarks

Embed advanced, customizable watermarks into WEBP images using .NET C#, providing robust protection and visual claim to your creative works.

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