image-saver

0.1.3 • Public • Published

node-image-saver

Saves an image data URI back to the file system.

Quick Start:

node bin/image-server.js

Example POST-Request

$.ajax("http://localhost:8888/", {
  type: "POST",
  crossDomain: true,
  data: {
    name: "myimage.png",
    data: canvas.toDataURL('image/png')
  },
  success: function(){
    console.log("Image saved");
  }
});

Author

Martin Kleppe / Ubilabs

Readme

Keywords

none

Package Sidebar

Install

npm i image-saver

Weekly Downloads

0

Version

0.1.3

License

none

Last publish

Collaborators

  • aemkei