mindsoft-merge-images

1.0.1 • Public • Published

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

Package Sidebar

Install

npm i mindsoft-merge-images

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

19.9 kB

Total Files

7

Last publish

Collaborators

  • gangrelg