Changes by Madhavendra Sharma :
--
resolution: -> not a bug
stage: -> resolved
status: open -> closed
___
Python tracker
<http://bugs.python.or
Madhavendra Sharma added the comment:
OK, That's fine.
Thanks for the clarification.
But most of the calculations I found for the conversion from RGB to HLS
contains H = 60 * h' that's why I could not interpret it properly. Even on the
same wiki page calculations specific to
Madhavendra Sharma added the comment:
Please check examples in en.wikipedia.org/wiki/HSL_and_HSV
I picked one of them
for R = .750, B=0.250, G=0.750
corresponding HLS value are H= 300 = (5.0 * 60) , L = .5, S=.5
but colorsys.rgb_to_hls(0.75 , 0.25, 0.75) gives following output
Changes by Madhavendra Sharma :
--
title: rgb_to_hls to colorsys.py -> rgb_to_hls in colorsys.py
___
Python tracker
<http://bugs.python.org/issue29629>
___
_
New submission from Madhavendra Sharma:
Calculations in rgb_to_hls at line number 67 in python version 2.7.3 for "h"
the hue component are not correct according reference mentioned in the same
source file "en.wikipedia.org/wiki/HSV_color_space".
code snippet:
if r