[Digikam-devel] What is a named color?

Gilles Caulier caulier.gilles at kdemail.net
Fri Jun 2 12:18:00 BST 2006


On Friday 02 June 2006 12:59 pm, Oliver Dörr wrote:
> Named color

This string is used to discribe a property of an ICC color profile, especially 
the "Device Class" of the profile.

A grep locate the string here :

void ICCPreviewWidget::getICCData( const KURL &url)
...
    switch ((int)cmsGetDeviceClass(tmpProfile))
    {
        case icSigInputClass:
            device = i18n("Input device");
            break;
        case icSigDisplayClass:
            device = i18n("Display device");
            break;
        case icSigOutputClass:
            device = i18n("Output device");
            break;
        case icSigColorSpaceClass:
            device = i18n("Color space");
            break;
        case icSigLinkClass:
            device = i18n("Link device");
            break;
        case icSigAbstractClass:
            device = i18n("Abstract");
            break;
        case icSigNamedColorClass:
            device = i18n("Named color");
            break;
        default:
            device = i18n("Unknown");
            break;
    }
...

this icc profile tag is describe into this specification, page 54 :

http://www.color.org/ICC1V42.pdf

But it can be confuse for you (and me (:=)))...

So google is always your friend :

http://tuvix.apple.com/documentation/GraphicsImaging/Conceptual/csintro/csintro_conversion/chapter_4_section_3.html#//apple_ref/doc/uid/TP30001148-CH223-BBCIAIDH

"A named color space profile contains data for a list of named colors. The 
profile specifies a device color value and the corresponding CIE value for 
each color in the list."

Gilles




More information about the Digikam-devel mailing list