开发者

how to create a jmagick application

I'm very new开发者_运维知识库 to jmagick. Can anyone help me out how to start a jmagick simple application ?


java.lang.NoClassDefFoundError: Could not initialize class magick.ImageInfo

means that jmagick.jar is not on your CLASSPATH. You need to add it to the CLASSPATH.

In addition, you also need to install ImageMagick. It's the native library that does all the work. After installation you will need to set LD_LIBRARY_PATH environment variable that points to the location where ImageMagick was installed. The setup depends on what OS you're using. There are detailed instructions on the wiki. For a code example, see the link provided by Andrew. This should get you started.

Edit: How to install JMagick on Windows.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜