Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/qdsang/psd2png

Image convertor, PSD to PNG, for node.js
https://github.com/qdsang/psd2png

image-convertor png psd

Last synced: about 2 months ago
JSON representation

Image convertor, PSD to PNG, for node.js

Awesome Lists containing this project

README

        

psd2png
==================

Image convertor, PSD to PNG, for node.js

## usage

$ npm install psd2png --save

```javascript

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