Psd.rb Versions Save

Parse Photoshop files in Ruby with ease

v1.1.1

10 years ago

Changes

  • Fixes ancestry bug where not all descendant nodes would be returned

v1.1.0

10 years ago

Changes

  • Can now export previews for individual layers
  • Lots of internal code cleanup
  • Some extra node helpers that let you easily see if the current node is a group or layer

v1.0.0

10 years ago

Changes

  • Moved type CSS export from psd-enginedata into PSD.rb since it was too specific for what aims to be a general purpose parser.
  • Various bug fixes and error checking during parsing.
  • Some code cleanup.
  • Test suite update.

There were a couple of API breaking changes in this release in order to clean up testing, but nothing major. A few of the ancestry-type method names have changed, e.g. is_childless? became childless?.

v0.4.2

10 years ago

Changes

  • Image exporting speed improvements by switching to oily_png.
  • Various bug fixes that should making parsing more reliable.

v0.4.1

10 years ago

Changes

  • Fixes nasty bug with decoding unicode layer names

v0.4.0

10 years ago

Changes

  • The start of parsing Resource data and allowing you to access them in a usable manner, e.g. Layer Comps
  • New PSD#open and PSD#close methods for more DSL-like behavior.
  • Some Descriptor bug fixes and debug logging

Contributors

Examples

PSD.open('path/to/file.psd') do
  puts resources[:layer_comps]
end

v0.3.5

10 years ago

Changes

  • Big speed improvements for image exporting
  • A few bug fixes
  • Now parses the global mask data

v0.3.4

10 years ago

Changes

  • Catches exceptions when attempting to parse a layer info block so that we can skip over it and continue parsing the PSD
  • Adds "unit float" parsing to the Descriptor

v0.3.3

10 years ago

Changes

  • Fixes invalid encoding issue in Ruby 1.9

Contributors

v0.3.2

10 years ago
  • Added CMYK color decoding support
  • Cleaned up color decoding code