gd-magicopen

Opens an image in node-gd based on its MIME type

npm install gd-magicopen
8 downloads in the last month

node-gd-magicopen

Opens an image in node-gd based on its MIME type

Usage

var mopen = require('gd-magicopen');

mopen('threewolfmoon.jpg', function(err, image){
    //Handle image as a node-gd image object
});
npm loves you