[IMAGE-SIG] HSI2RGB conversion

Fredrik Lundh fredrik@pythonware.com
Fri, 3 Apr 1998 07:31:08 +0200


(I sent my reply to python-list instead of image-sig. Better
post it here as well, so it shows up in the archives..)


>How can a HSI to RGB (and backwards) conversion
>be done in PIL ?

There's no support for HSI (HSL, HSB, you name it) colour
spaces in the current version of PIL.  Contributions would
be welcome.

Note that you can use the "convert(mode, matrix)" form to
handle "rotated" colour spaces, like YCrCb, YUV and XYZ (see
the handbook for details).

Cheers /F
fredrik@pythonware.com
http://www.pythonware.com