Commit 0e2b1005 authored by Ryan LeFevre's avatar Ryan LeFevre

Add examples

parent a54490b3
var PSD = require('../');
psd = PSD.fromFile('/Users/ryanlefevre/LayerVault/Pillocks/Welcome Email.psd');
psd.parse();
console.log(psd.header.export());
psd.image.saveAsPng('./output.png').then(function () {
console.log("Finished!");
});
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment