Hi,
I would like to crop the white space around an image. Below is the code I'm using. But it doesn't works. Am I missing anything?
Screenshot: http://screencast.com/t/NmQ7321tq7yp
I would like to crop the white space around an image. Below is the code I'm using. But it doesn't works. Am I missing anything?
using (MagickImage image = new MagickImage(@"D:\image\input.jpg"))
{
image.Trim();
image.Write(@"D:\out.jpg");
}
Below is the image I'm trying to trim.Screenshot: http://screencast.com/t/NmQ7321tq7yp