Commit 064e5b9e authored by Ryan LeFevre's avatar Ryan LeFevre

Update package.json and version

parent 776b9103
......@@ -6,14 +6,11 @@ module.exports =
toPng: ->
new RSVP.Promise (resolve, reject) =>
png = new Png(new Buffer(@pixelData), @width(), @height(), 'rgba')
console.log "Encoding!"
png.encode(resolve)
saveAsPng: (output) ->
new RSVP.Promise (resolve, reject) =>
@toPng()
.then (image) ->
console.log "Writing!"
fs.writeFile output, image.toString('binary'), 'binary', resolve
{
"name": "psd",
"version": "0.0.1",
"version": "1.0.0",
"main": "./index.js",
"keywords": ["psd", "parser", "photoshop", "adobe", "reader"],
"repository": {
"type": "git",
"url": "git@github.com:meltingice/psd.js.git"
......
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