PIL: Want to convert images into HSL format

F. GEIGER fgeiger at datec.at
Mon Mar 18 10:45:36 CET 2002


PIL can supply me with RGB data of an image. Does anybody know, how I can
PIL have to transform this into the HSL (aka HSI) model?

I'm new to image processing, but if I understand the chapter Introducint
PIL -> Concepts -> Mode right, HSL is not mentioned there. Well, I have to
admit, the only two color modes of the mentioned ones I understand are RGB
and CMYK.

Any idea?

Cheers
Franz GEIGER








More information about the Python-list mailing list