Lightweight extension methods using Magick.NET
for resizing, cropping and scaling images for the web.
This works for both windows and linux.
Example input
using(var image = new MagickImage("/path/to/image.jpg"))
{
image.ScaleAndCrop(new Box(width, height), CropType.Center);
image.Write("/path/to/output.jpg");
}