1.0.1 • Published 4 years ago

mindsoft-merge-images v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

merge-images

Easily compose images together without messing around with canvas

Build Status Coverage Status npm npm

Canvas can be kind of a pain to work with sometimes, especially if you just need a canvas context to do something relatively simple like merge some images together. merge-images abstracts away all the repetitive tasks into one simple function call.

Images can be overlaid on top of each other and repositioned. The function returns a Promise which resolves to a base64 data URI. Supports both the browser and Node.js.

Install

npm install --save merge-images

or for quick testing:

<script src="https://unpkg.com/merge-images"></script>

Information

This is a fork from the original repo and has been customized to fit our needs regarding XO.

License

MIT © Luke Childs