Saves an Image Data URI Back to the File System
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
.gitignore
README.md
image-saver.js
package.json

README.md

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