Skip to content

Instantly share code, notes, and snippets.

@meltingice
Created August 22, 2012 18:07
Show Gist options
  • Save meltingice/3428018 to your computer and use it in GitHub Desktop.
Save meltingice/3428018 to your computer and use it in GitHub Desktop.
psd = psd.fromFile "/path/to/file.psd"
psd.parse()
data = psd.toJSON()
# PS <= 5.0
console.log data.layerMask.layers[0].adjustments.legacyEffects
# PS >= 6.0
console.log data.layerMask.layers[0].adjustments.effects
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment