meta info
- Title: LazZiya.ImageResize - Add Animated Image Watermark
- Keywords: asp.net-core, image, resize, crop, scale, text watermark, animated, gif
- Description: Image resizing tool for .Net applications to resize images and add text/image watermark, Supports most common image types including animated gif.
- Author: Ziya Mollamahmut
- Date: 22-Feb-2021
- Image: https://github.com/LazZiya/Docs/raw/master/LazZiya.ImageResize/v4.0/images/lazziya-imageresize-logo.png
- Image-alt: LazZiya.ImageResize Logo
- Version: v4.0
Easily add an animated image watermark, change its location and opacity.
Animated image watermark can be placed over a static image only
// Add animated image watermark over a static image
using(var img = Image.FromFile("wwwroot/images/my-image.jpg"))
{
img.AddAnimatedImageWatermark("wwwroot/images/logo-watermark.gif")
.SaveAs("wwwroot/images/new-image.gif"); // Make sure to save as gif
}