[stdlib-sig] proposed removal: colorsys

Paul Moore p.f.moore at gmail.com
Thu Mar 20 17:44:45 CET 2008


On 20/03/2008, M.-A. Lemburg <mal at egenix.com> wrote:
>
> Just read the code: it's for converting between color systems, e.g.
>  HLS -> RGB.
>
>  > Plus the stdlib does not really aim towards image work.
>
> True, but you need RGB values for most color values defined in web
>  standards and things like luminance are a lot easier to change in
>  HLS than in RGB.
>
>  -0 on removing it.

I've never used it, but there have been cases where I could imagine
being glad of a HSV->RGB converter. And having it in the stdlib is
much better than having to hunt through PyPI trying to understand
specialist imaging libraries.

It's also only 126 lines of code[1], for pity's sake!

-0 on removing it.

Paul.

[1] Which I wouldn't know how to write, so I really appreciate someone
having done it for me!


More information about the stdlib-sig mailing list