gtaylor / python-colormath

A python module that abstracts common color math operations. For example, converting from CIE L*a*b to XYZ, or from RGB to CMYK
python-colormath.readthedocs.org
BSD 3-Clause "New" or "Revised" License
456 stars 82 forks source link

Fixed issues where clamped_rgb_r (and b & g) did not return upscaled … #67

Closed mark-meyer closed 7 years ago

mark-meyer commented 7 years ago

clamped_rgb_r(), clamped_rgb_g(), and clamped_rgb_b() will now return int values between 0-255 when is_upscaled is true.