meltingice/psd.js — pull request #9 by nelsonsilva (2012-02-25 16:48:20+00:00)
Title: Initial Effects Layer support

This adds initial Effects Layer support and also fixes a couple of bugs.
The idea was to have an initial support for now and I'll try to evolve that as needed.
Also, added some length checks to ensure proper parsing. This should make it easier to track bugs since it throws an error as soon as it fails.

On a side note, you should also add libpsd as a reference implementation:

https://github.com/alco/psdump/blob/master/libpsd-0.9/