Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/qdsang/psd2png
- Owner: qdsang
- License: mit
- Created: 2014-08-22T13:39:40.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-09-22T12:04:51.000Z (over 7 years ago)
- Last Synced: 2024-11-20T09:29:11.833Z (2 months ago)
- Topics: image-convertor, png, psd
- Language: JavaScript
- Homepage:
- Size: 50.8 KB
- Stars: 9
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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