sindresorhus / project-ideas

Need a JavaScript module or looking for ideas? Welcome ✨
543 stars 9 forks source link

.ase to JSON #60

Open kevinSuttle opened 8 years ago

kevinSuttle commented 8 years ago

Example file: IDL-pantone-coated-v1.ase.zip

Thanks!

kevinSuttle commented 8 years ago

Hmm. https://github.com/hughsk/adobe-swatch-exchange https://www.npmjs.com/package/ase-utils

Qix- commented 8 years ago

Those both look like good candidates.

kevinSuttle commented 8 years ago

But they don't really work, nor have been updated in awhile. Docs are missing too.

sindresorhus commented 8 years ago

// @hughsk

Qix- commented 8 years ago

So here's this really damn cool page http://www.selapa.net/swatches/colors/fileformats.php.

Qix- commented 8 years ago

@kevinSuttle what doesn't work about https://github.com/hughsk/adobe-swatch-exchange?

EDIT: ah okay. I'll take a look and fix it.

Qix- commented 8 years ago

Alright I fixed one problem with that module (it wasn't setting modes for groups, so it was reading group starts/ends as colors, hence the error you were getting). Now there's a second bug, and this one is... weird. It's like a byte got deleted somewhere in the buffer read. I'm... not entirely sure what's going on.

Going to debug a bit further.

kevinSuttle commented 8 years ago

Thanks @Qix-!

Qix- commented 8 years ago

Fixed. hughsk/adobe-swatch-exchange#6

Qix- commented 8 years ago

Shameless plug: use color-convert to convert those values from LAB to RGB and whatnot.

kevinSuttle commented 8 years ago

I'd be disappointed if you didn't plug your own stuff. :) You're awesome. Thanks again!

Qix- commented 8 years ago

No problem! :)

jkadamczyk commented 6 years ago

+1