Using ImageMagick.net

Aug 4, 2012 at 10:30 AM
Edited Aug 4, 2012 at 11:15 AM

I have tried this code in my project for resizing an  image

MagickNet.Magick.Init(); MagicNet.Image img = new MagicNet.Image("file.jpg");

img.Resize(System.Drawing.Size(100,100));

img.Write("newFile.png");

MagickNet.Magick.Term();


But it showing this error "'ImageMagickNET.MagickNet' does not contain a definition for 'Magick'"
What was the reason would be.? Thanks in advance.
Aug 6, 2012 at 12:37 PM

There is a method for crop.

Public Sub Crop(geometry_ As ImageMagickNET.Geometry)

Member of ImageMagickNET.Image

I imagine the question is how to determine the coordinates needed to make an auto-crop function.

From: rakeshpeee0009 [email removed]
Sent: Saturday, August 04, 2012 6:30 AM
To: jturner@nmsimaging.com
Subject: Auto crop [imagemagick:390258]

From: rakeshpeee0009

How can i use auto crop using this. I have added ImageMagickNET.dll as my projects reference.Any help should be appreciated thank you.

May 31, 2013 at 8:24 AM
I imagine the question is how to determine the coordinates needed to make an auto-crop function.
Did you find out how ??