Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hughsk/adobe-swatch-exchange
Encode/decode color palettes in Adobe's .ase format
https://github.com/hughsk/adobe-swatch-exchange
Last synced: 12 days ago
JSON representation
Encode/decode color palettes in Adobe's .ase format
- Host: GitHub
- URL: https://github.com/hughsk/adobe-swatch-exchange
- Owner: hughsk
- License: mit
- Created: 2014-04-27T14:09:13.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-02-13T00:42:34.000Z (over 8 years ago)
- Last Synced: 2024-10-17T16:41:17.452Z (22 days ago)
- Language: JavaScript
- Size: 109 KB
- Stars: 41
- Watchers: 4
- Forks: 14
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# adobe-swatch-exchange [![experimental](http://hughsk.github.io/stability-badges/dist/experimental.svg)](http://github.com/hughsk/stability-badges) #
Encode/decode color palettes in Adobe's `.ase` format.
## Usage ##
[![adobe-swatch-exchange](https://nodei.co/npm/adobe-swatch-exchange.png?mini=true)](https://nodei.co/npm/adobe-swatch-exchange)
### ase.decode(buffer) ###
Returns a JSON object representing the contents of the `.ase` file, for example:
``` json
{
"version": "1.0",
"groups": [],
"colors": [{
"name": "RGB Red",
"model": "RGB",
"color": [1, 0, 0],
"type": "global"
}, {
"name": "RGB Yellow",
"model": "RGB",
"color": [1, 1, 0],
"type": "global"
}]
}
```## License ##
MIT. See [LICENSE.md](http://github.com/hughsk/adobe-swatch-exchange/blob/master/LICENSE.md) for details.