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/
Choose the Gradient Tool (keyboard shortcut G) from the Tools bar. Then, at the top of Photoshop below the menus, select the color that's showing so that the Gradient Editor opens. Choose Import or Load to browse for the file. Use the Export or Save button to make your own GRD file.
For Photoshop CC 2020 and newer: Open the Gradients Panel (Window > Gradients). Click the menu on the top right corner, then click Import Gradients... Select the file ending in . GRD, and click Open.
File created by Photoshop, an image editing program; contains a gradient, or multi-color fill, in which colors incrementally change into other colors; commonly applied to drawing objects or tiled in background patterns; used to store and share gradients.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With