Error: Could not execute GraphicsMagick/ImageMagick: identify "-ping" "-format"

nodejs使用gm时出现

Error: Could not execute GraphicsMagick/ImageMagick: identify "-ping" "-format"
"%wx%h" "1.jpg" this most likely means the gm/convert binaries can't be found
at ChildProcess.<anonymous> (E:\nodejs\image\node_modules\gm\lib\command.js
232:12)

安装ImageMagick时一定要要选择画框的部分

 

posted @ 2020-12-17 13:37  慕尘  阅读(929)  评论(0编辑  收藏  举报