Date : Thu, 04 Nov 2010 10:28:57 -0500
From : jules.richardson99@... (Jules Richardson)
Subject: Programming: Colour names in Sigsumeidsi
Farlie A wrote:
> I already have my own thoughts about how to program a simple translator,
> I'm just interested in what other people here thought.
Storage is cheap - with a constraint placed on simplicity of the algorithm
rather than performance, how about a monster[1] lookup table? :-) (It's
possibly not even that slow, assuming a table sorted by RGB index, with the
corresponding list of Sigsumeidsi colour names for a given RGB triple sorted
by simplicity - it's just rather *big* ;-)
[1] anyone care to work out how monster? Assume you can encode the Sigsumeidsi
names (e.g. there's really no point wasting 3 bytes to store "nul"; that's
just a translation issue at the output stage)
cheers
Jules