On Thursday, 1 January 2015 at 06:38:41 UTC, Manu via
Digitalmars-d wrote:
My colours can be used as high-level colour values for precise
numeric
work, or specify encodings such that they are directly useful to
represent pixels in images of basically any format/layout for
rendering use.
Colourspaces is a tricky area, it would be nice with a templated
conversion tool, but you also need to deal with stuff like gamut
compression if you want it to be a generic solution.
http://www.colorwiki.com/wiki/Gamut_Compression