以下代码给出org.im4java.core.CommandException: org.im4java.core.CommandException: return code: 1 我正在尝试比较两种颜色。我的代码有什么问题或比较颜色的正确解决方案是什么。
ImageCommand compare=new ImageCommand();
compare.setCommand("compare");
IMOperation op = new IMOperation();
op.fuzz(30.0);
op.metric("AE");
op.addImage();
op.addImage();
op.addImage();
compare.run(op,"xc:green","xc:brown","null:");