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

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i image-saver

    Weekly Downloads

    1

    Version

    0.1.3

    License

    none

    Last publish

    Collaborators

    • aemkei