1.0.0 • Published 5 years ago

shitty-images v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
5 years ago

#Image manipulation libraries

Simplified image manipulation

##Merge images

Simple image layering - layers each image top the previous

var { merge } = require('shitty-images')
merge({
    w:100,
    h:100,
    images:[
        `path/to/image1.png`,
        `path/to/image2.png`,
        `path/to/image3.png`,
        //...
    ],
    type:'image/png',
    options:{}
}).then(imageBuffer => {

    //...stream or save buffer

})
1.0.0

5 years ago