Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Photoshop export gradient ( .grd files )

Tags:

css

photoshop

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/

like image 359
Ilia Choly Avatar asked Oct 27 '11 10:10

Ilia Choly


People also ask

How do I create a GRD file in Photoshop?

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.

Where do GRD files go in Photoshop?

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.

What is a .GRD file?

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.


1 Answers

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.

like image 57
eighteyes Avatar answered Sep 28 '22 14:09

eighteyes