Reputation: 18557
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/
Upvotes: 7
Views: 4889
Reputation: 1024
If you don't mind the command-line, then cptutils can do this. If not, then this online version may do what you want.
Upvotes: 1
Reputation: 1314
Been searching for a while to find something for this. All I came up with is http://csshat.com Which is awesome in it's own right.
Upvotes: 2
Reputation: 11
Just use the gradient on an object and get the hexadecimal value of the polarities.
I do not see the advantage of the tool you're describing. However, see if this link helps. Found in a related article how to read .grd file.
Upvotes: 1