scale images using node.js and gm