← All products
Imagise plugin Available

Cropper

Crop image borders with configurable offsets.

Imagise.Cropper

Overview

Imagise.Cropper lets .NET applications crop images by specifying how much to remove from each edge.

What it does

  • Set horizontal crop offsets
  • Set vertical crop offsets
  • Save the cropped image

Install from NuGet

Run this command from your .NET project directory.

dotnet add package Imagise.Cropper

C# example

using Imagise.Core;
using Imagise.Cropper;

using (var image = Image.Load("input.png"))
{
    image.Crop(image.Width / 4, image.Width / 4,
        image.Height / 4, image.Height / 4);
    image.Save("cropped.png");
}