开发者

ImageMagickObject with .Net

Still trying to resolve some image manipulation issues in .Net and I've come across ImageMagickObject.dll mentioned with some .Net projects - is开发者_如何学C this something usable with an application rather than a website? I have an .net application I'm trying to bridge with ImageMagick or one of its wrappers but not having much luck as my C/C++ skills are fairly limited.

ETA: My need is to use one of the similarity functions present in IM, IsSimilarImage() within the Image class or Compare's SimilarityImage(). I'm very confused as to whether these can be used in a non-command line context or not.

Thanks, Becky


I don't know the dll that you are referring to but if you want to use ImageMagick from .NET it is probably easiest to use the wrapper library available at Codeplex:

ImageMagick.NET

ImageMagick is a very powerful library for image manipulation that of course can be used in web applications and desktop applications as well.


ImageMagickObject is an optional COM component during install of ImageMagick. It takes arguments in the same form as the command line variants of the methods it provides (Compare, Mogrify, Convert, Identify, etc).

So if you just need a simplistic answer to image similarity and compare.exe from the command line gives you acceptable values, then this might be a very good solution for an in-process solution in your code.

As a disclaimer, however, I've run into some hiccups with certain commands.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜