There are existing PSD readers for Python:
-* `psdparse <https://github.com/jerem/psdparse>`_;
-* `pypsd <https://code.google.com/p/pypsd>`_;
* there is a PSD reader in PIL_ library;
* it is possible to write Python plugins for GIMP_.
have tests and support both Python 2.x and Python 3.x.
.. _GIMP: http://www.gimp.org/
+.. _psdparse: https://github.com/jerem/psdparse
+.. _pypsd: https://code.google.com/p/pypsd
from the source checkout.
+Thanks to all guys who write PSD parsers: I learned a lot about PSD
+file structure from the source code of psdparse_, GIMP_, libpsd_
+and `psdparse C library`_; special thanks to `Paint.NET PSD Plugin`_ authors
+for deciphering the "32bit layer + zip-with-prediction compression" case.
+.. _libpsd: http://sourceforge.net/projects/libpsd/
+.. _psdparse C library: http://telegraphics.com.au/svn/psdparse/trunk/
+.. _Paint.NET PSD Plugin: http://psdplugin.codeplex.com/