node-images
node-images copied to clipboard
Module still working?
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...
ok, i see see.
Any fix? Got the same problem!