There are some parts in color models that can simply be templated for changes in channel depth, but others, like the rendering code needs to be rewritten for every depth. Any ideas on how we can best factor this out? -- Boudewijn Rempt | http://www.valdyas.org/fading/index.cgi