0.9.4 • Published 11 years ago

png2psd v0.9.4

Weekly downloads
3
License
MIT
Repository
github
Last release
11 years ago

png2psd

convert PNG file to PSD file.

Build Status Code Climate npm version npm downloads dependencies license MIT

cli

install

npm install -g png2psd

usage

png2psd source.png export.psd

node module

install

npm install png2psd

usage

var png2psd = require('png2psd'),
    fs = require('fs');

// file path
var pngFilePath = 'source.png';
var psdFilePath = 'export.psd';

// convert
png2psd(pngFilePath, function(psdFileBuffer) {
  // save psd file
  fs.writeFile(psdFilePath, psdFileBuffer, function(err) {
    if (err) throw err;
    console.log('save psd file.');
  });
});
0.9.4

11 years ago

0.9.3

11 years ago

0.9.2

11 years ago

0.9.1

11 years ago

0.9.0

11 years ago

0.7.3

11 years ago

0.7.2

11 years ago

0.7.1

11 years ago

0.6.1

11 years ago

0.6.0

11 years ago

0.5.2

11 years ago

0.5.1

11 years ago

0.5.0

11 years ago