[CREATE] Color swatch convertor...

Olivier BERTEN olivier.berten at gmail.com
Sat Apr 19 15:26:31 PDT 2008


The convertor now converts to gimp, scribus and (enhanced) create draft 
palettes.

Converting from Lab requires LittleCMS (and the python bindings).


My additions to the draft are:

- metadata (should be corrected by someone who knows more about xml)

- display informations (columns,rows,line breaks). In inverted ACF/BCF 
values as it's the only one that scrolls horizontally.

- color groups (Adobe Swatch Exchange format feature).

- "preferredmodel" tag as you can find in ACF/BCF and Quark swatches

- "spot" attribute

I took the option of choosing '6CLR' for hexachrome values as it wasn't 
in the draft and it is the ICC and CGATS key. But it's maybe useless 
since I don't know any free software that could deal with these data...
I changed "g" to "k" in the "Gray" model.

I still advocate the optionality of the color space: in palettes like 
that one <http://html-color-codes.com/>, it's obvious that the RGB 
values are chosen for themselves and not for the color they represent. 
It is as useful with any rgb space. It helps you to have an idea of the 
entire field of possible colors with your computer's screen. If you 
"color manage" that palette, it looses any interest... Don't forget that 
many non-professional users won't ever publish their work and don't care 
about other user's screens...


PS: There were some mistakes in the Corel color models. 12 is Lab and 
not CMYK and RGB is actually coded BGR. And I'm not sure at all the 
first color model in the BCF format is XYZ... By the way, if someone 
knows how to decrypt AutoCAD's RGB8Encrypt values, I'm interested ;-)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/create/attachments/20080420/54e387fc/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: swatch_convertor.py
Type: text/x-python
Size: 38892 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/create/attachments/20080420/54e387fc/attachment-0001.py 


More information about the CREATE mailing list