imagemagick with nodejs not working

前端 未结 2 1271
眼角桃花
眼角桃花 2020-12-03 18:40

I am trying to resize an image with node-imagemagick library, but it is not working.

the code i am using to resize is

im.resize({
      srcPath: __d         


        
2条回答
  •  误落风尘
    2020-12-03 19:12

    On windows you also need to install the imagemagick exe. The nodejs imagemagick library is just a wrapper for imagemagick exe. So it will not work untill the imagemagick exe is intalled and convert and identify executable are in path.

提交回复
热议问题