D:\GraphicsMagick-1.3.20-Q8\gm.exe convert: Unable to open file (D:\test) [Permission denied].
org.im4java.core.CommandException: java.lang.NullPointerException
at org.im4java.core.ImageCommand.run(ImageCommand.java:219)
at graphics_magick.test.drawImg(test.java:61)
at graphics_magick.test.main(test.java:71)
Caused by: java.lang.NullPointerException
at org.im4java.core.ImageCommand.finished(ImageCommand.java:252)
at org.im4java.process.ProcessStarter.run(ProcessStarter.java:314)
at org.im4java.core.ImageCommand.run(ImageCommand.java:215)
... 2 more
用java测试GraphicsMagick处理图片时打开文件夹被拒绝是什么情况?从上面的错误来看应该是修改完保存的时候打开test文件夹被拒绝了,谁知道怎么处理?
------解决思路----------------------
D:\test
被当做文件打开了