Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
meltingice committed Aug 2, 2013
1 parent 9fcb724 commit caf1086
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,16 @@ png = psd.image.to_png # reference to PNG data
psd.image.save_as_png 'path/to/output.png' # writes PNG to disk
```

**Debugging**

If you run into any problems parsing a PSD, you can enable debug logging via the `PSD_DEBUG` environment variable. For example:

``` bash
PSD_DEBUG=STDOUT bundle exec examples/parse.rb
```

You can also give a path to a file instead.

## To-do

There are a few features that are currently missing from PSD.rb.
Expand Down

0 comments on commit caf1086

Please sign in to comment.