I'm looking for a node.js module.
A node.js module that I can use to serve compressed images of the sort by the smushit service.
Is there such a module?
Thanks
I'm looking for a node.js module.
A node.js module that I can use to serve compressed images of the sort by the smushit service.
Is there such a module?
Thanks
Maybe https://github.com/bentruyman/pulverizr?
maybe you can use imagemin
github:https://github.com/imagemin/imagemin
It can work.
You can use GraphicsMagick for node.js.
For anyone googling this, GraphicsMagic is hosted on NPM as gm: https://www.npmjs.org/package/gm
Detected path and can use combination compressing. SVG
JPG
PNG
GIF
https://www.npmjs.com/package/compress-images
Try this library jimp for node js