GroupDocs.Watermark for .NET 26.3 Release Notes

GroupDocs.Watermark 26.3 introduces new features and bug fixes for a more stable and efficient workflow.

Full list of changes in this release

KeyCategorySummary
WATERMARKNET-2152★ FeatureAdded support for image inpainting within a specified polygon
WATERMARKNET-2138🔧 FixFixed format change to Strict OOXML when processing password-protected Word documents

Major Features

Added support for image inpainting within a specified polygo

🌐 This feature allows users to define a custom polygonal region in an image and apply inpainting only to that selected area. It enables more precise editing by restricting modifications to user-defined boundaries while preserving the rest of the image.

 using (Watermarker watermarker = new Watermarker("source.png"))
 {
    var possibleWatermark = new ImageInpaintingPossibleWatermark()
    {
        Rectangles = new[] { new GroupDocs.Watermark.Common.Rectangle(320, 200, 40, 30) },
        Method = InpaintingMethod.PatchBased
    };

    watermarker.Remove(possibleWatermark);    
    watermarker.Save("result.png");
 }