Ilia Choly
Ilia Choly

Reputation: 18557

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/

Upvotes: 7

Views: 4889

Answers (4)

jjg
jjg

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

eighteyes
eighteyes

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

ergonihil
ergonihil

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

David Morrow
David Morrow

Reputation: 9354

http://www.gradientapp.com/

its a great tool for creating css gradients

Upvotes: 1

Related Questions