zden / face.haluska.sk

Geometric Photo Filter
14 stars 2 forks source link

input id="saturation" ~~ range can REALLY be 0--256 ? #4

Closed stewie closed 9 years ago

stewie commented 10 years ago

instead, should the range be declared as 0--255 or 1--256 ?

zden commented 10 years ago

:) Check the code ( function hue_satur(col) ) Value 128 means in fact 'no saturation applied'. Then you have 128 steps (0-127) for gray scale fade and in the other direction another 128 steps (129..256) for color saturation.