Color Dictionaries

You can configure the color cluster analysis task to cluster colors around colors that are defined in a dictionary. If you configure a dictionary, Media Server also returns the name of a color for each cluster in the analysis results. Media Server includes some dictionaries in the colorcluster folder, in the static data directory.

To list the colors that have been defined in a color dictionary

  • Use the action ListColors. For example:

    /action=ListColors&ColorDictionary=basiccolors.dat

    where the ColorDictionary parameter specifies either:

    • the name of a dictionary file that is located in the colorcluster folder in the static data directory. The static data directory is the folder specified by the StaticDataDirectory parameter in the [Paths] section of the Media Server configuration file.
    • the path of a dictionary file. A path can be absolute or relative to the Media Server executable file.