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 205 forks source link

对高像素图片(73M)进行压缩时内存增加800M+ (服务器内存1G)是我没设置什么吗 #189

Closed opcooc closed 5 years ago

opcooc commented 5 years ago

var images = require("images"); images.setLimit(99999, 99999) images.gc() images("input.jpg" .size(800) .save("output.jpg", { quality : 50 });

opcooc commented 5 years ago

以加处理好了

hfutpath commented 4 years ago

以加处理好了

大佬,你怎么处理的啊