imagemagick with nodejs not working

前端 未结 2 1266
眼角桃花
眼角桃花 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:05

    It is just that you haven't installed ImageMagick in your system. If you are using a Linux distribution you can do:

    sudo apt-get install imagemagick
    

提交回复
热议问题