RGB <-> HCL conversion not correct
Posted: 2012-08-14T13:14:23-07:00
branches/ImageMagick-6
Recently added HCL support routines, ConverRGBToHCL() and ConvertHCLToRGB() in gem.c, will be fixed by a patch I posted with viewtopic.php?f=2&t=21646.
It fixes:
Recently added HCL support routines, ConverRGBToHCL() and ConvertHCLToRGB() in gem.c, will be fixed by a patch I posted with viewtopic.php?f=2&t=21646.
It fixes:
- RGB -> HCL: Wrong hue will be returned if g < b < r.
- HCL -> RGB: Unexpectedly lightened.