Page 1 of 1

how to resize an image using .com object of imagemagick 6.7.8

Posted: 2015-06-25T05:07:23-07:00
by masterofc
HI,

I'm trying to resize an image with ImageMagick ( third program) in c#
however the command image.resize is not working ( please add a sample in c# how it works exacly)

// use ImageMagick to resize images
var image = new ImageMagickObject.MagickImage(NewName);

List<object> convertParams = new List<object>();
image.resize("%50"); //---> does not work ( resize is not recognized)

Re: how to resize an image using .com object of imagemagick 6.7.8

Posted: 2015-06-25T09:28:01-07:00
by dlemstra
Why are you using the COM object in C#? You could use the Magick.NET API that I created.