ImageMagick.NET异常 [英] ImageMagick.NET Exception

查看:235
本文介绍了ImageMagick.NET异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我得到一个 FileNotFoundException异常试图在使用ImageMagick.NET,从bin文件夹中的源代码时采取.. http://imagemagick.codeplex.com/releases/view/30302

I am getting a FileNotFoundException when trying to use ImageMagick.NET, taken from the "bin" folder in the source at.. http://imagemagick.codeplex.com/releases/view/30302

确切例外,我得到的是...

The exact exception I get is...

无法加载文件或程序
'ImageMagickNET.dll或它的一个依赖该指定的模块
找不到。

"Could not load file or assembly 'ImageMagickNET.dll' or one of its dependencies. The specified module could not be found."

ImageMagickNET.dll在我的输出文件夹,那么还有什么其他依赖它需要?

The ImageMagickNET.dll is in my output folder, so what other dependencies does it need?

推荐答案

引用添加到ImageMagickNet.dll中的bin\ReleaseQ8'找到或bin\RealeaseQ16文件夹,选择其中的一种。

Add a Reference to the 'ImageMagickNet.dll' found in the 'bin\ReleaseQ8' or 'bin\RealeaseQ16' folders, choose one of them.

这之后,你必须下载的ImageMagick 6.5.3-10版本的DLL为Q8 / Q16因为ImageMagickNet建到这个版本。
(我发现所有版本在此链接: http://image_magick.veidrodis.com/image_magick /二进制/
例如,对于Q16下载:ImageMagick的-6.5.3-10-Q16-Windows的dll.exe)

After that you have to download the ImageMagick 6.5.3-10 version DLLs for Q8/Q16 because the ImageMagickNet was built to this version. (I found all versions at this link: http://image_magick.veidrodis.com/image_magick/binaries/ For example, for Q16 download: ImageMagick-6.5.3-10-Q16-windows-dll.exe)

然后安装和复制所有的DLL文件C:\Program Files\ImageMagick-6.5.3-Q16'到您的bin文件夹。
现在,你应该能够正常运行。

Then install it and copy all DLL files from 'C:\Program Files\ImageMagick-6.5.3-Q16' to your bin folder. Now you should be able to run it properly.

这篇关于ImageMagick.NET异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆