image-saver

Saves an image data URI back to the file system.

npm install image-saver
4 downloads in the last week
16 downloads in the last month

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

npm loves you