Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

32 lines (23 sloc) 0.428 kB

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

Jump to Line
Something went wrong with that request. Please try again.