image2base64

0.0.3 • Public • Published

Image2Base64

Transform an image to base64 in the browser.

Usage

You can use it via browserify and npm or the old school way.

var rslt = Image2Base64(myImage);

it may throw a SecurityError if the image doesn't support CORS.

Build example

cd example
npm install
npm run build

TODO

  • tests

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.3
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.3
    0
  • 0.0.2
    1
  • 0.0.1
    1

Package Sidebar

Install

npm i image2base64

Weekly Downloads

2

Version

0.0.3

License

MIT

Last publish

Collaborators

  • 42loops