Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

psd2pngl

0.1.2 • Public • Published

psd2pngl

Image convertor, PSD to PNG, for node.js

usage

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

install

npm i psd2pngl

Downloadsweekly downloads

12

version

0.1.2

license

ISC

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar