cssphotoshop

Photoshop export gradient ( .grd files )


I'm trying to write a tool for converting photoshop gradients to css gradients using sass/compass. From what I've read the .grd is a proprietary format for which documentation is not available. Would the built in scripting be able to get at this info?

EDIT: here is a link to the scripting docs (I couldn't find anything)

EDIT 2: http://www.tonton-pixel.com/blog/photoshop-scripting/json-sample-scripts/parse-gradients-file/


Solution

  • If you don't mind the command-line, then cptutils can do this. If not, then this online version may do what you want.