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

ImageMagickObject is a Windows COM+ interface to ImageMagick. COM+, Visual Basic, and Delphi users should post to this discussion group.
Post Reply
masterofc
Posts: 1
Joined: 2015-06-25T05:04:30-07:00
Authentication code: 6789

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

Post by masterofc » 2015-06-25T05:07:23-07:00

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)

User avatar
dlemstra
Posts: 1383
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

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

Post by dlemstra » 2015-06-25T09:28:01-07:00

Why are you using the COM object in C#? You could use the Magick.NET API that I created.
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate

Post Reply