Skip to content

qdsang/psd2png

Repository files navigation

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

About

Image convertor, PSD to PNG, for node.js

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published