zhangyuanwei / node-images

Cross-platform image decoder(png/jpeg/gif) and encoder(png/jpeg) for Nodejs
https://npmjs.org/package/images
MIT License
1.55k stars 204 forks source link

Module still working? #264

Open walruzperil opened 5 months ago

walruzperil commented 5 months ago

Hi, just try simple script:

var images = require("images");

images("input.jpg")                     //Load image from file 
                                        //加载图像文件
    .size(400)                          //Geometric scaling the image to 400 pixels width
                                        //等比缩放图像到400像素宽
    .save("output.jpg", {               //Save the image to a file, with the quality of 50
        quality : 50                    //保存图片到文件,图片质量为50
    });

but img not saved, no error in console...

oxUnd commented 4 months ago

ok, i see see.

rhpo commented 3 weeks ago

Any fix? Got the same problem!