gm-mio

Graphicsmagick with an extra function for scale-cropping images:

npm install gm-mio
1 downloads in the last week
4 downloads in the last month

gm-mio

Graphicsmagick with an extra function for scale-cropping images:

var gm = require('gm-mio');

gm('/tmp/lol.png').scaleCrop(256, 128, 50); // scale to 256 * 128, slicing off the top 50 pixels

Useful for slicing images into pixelated banners. Extremely useful. Will change your life.

npm loves you