psd2png

1.2.0 • Public • Published

psd2png

Image convertor, PSD to PNG, for node.js

usage

$ npm install psd2png --save
 
var psd2png = require('psd2png')
  , fs = require('fs')
;
 
fs.readFile('./psd.psd', function (err, buffer) {
    if (!!err) throw err;
 
    var pngbuffer = psd2png(buffer);
 
    fs.writeFileSync('./image.png', pngbuffer);
 
});

test

node bin/psd2png.js ./test/test.psd

thanks

@leo94rug

Readme

Keywords

Package Sidebar

Install

npm i psd2png

Weekly Downloads

2

Version

1.2.0

License

none

Last publish

Collaborators

  • qdsang