resize(int width, int height[, boolean interpolation])
- width new width.
- height new height.
- interpolation set the interpolation method.
var imageLib = require('./imageLib.js');
imageLib('./images/simple.jpg').jpegToData(function() {
this.resize(400, 400, true);
this.toJpeg('./images/simpleResize.jpg');
});