imageresizer.io
A wrapper around functions of https://imageresizer.io/
Install
$ npm install --save imageresizer.io
Initializing
var imageresizerModule = imageresizerModule;
Usage
upload
//Puting one image to server, when getting the keyID, we are able to do processing var url = 'http://www.w3schools.com/css/trolltunga.jpg' imageresizerModule
resizeById
//Puting one image to server, when getting the keyID, we are able to do processing // _id is responsed by request// w,h,q// or {f: 'png'}var resizedUrl = imageresizerModule;
resizeById
var url = 'http://www.w3schools.com/css/trolltunga.jpg' imageresizerModule