News for hackers. Stuff that matters.
Re:Conversion to Grayscale by volemo on Thursday September 05, 2024 @09:47AM (#41456587)
One should really use CIELAB colour space for visually accurate greyscale.
Re:Conversion to Grayscale by shiandow on Thursday September 05, 2024 @10:11AM (#41456814)
CIELAB uses the same Y. Sure they apply a nonlinear function to it, but if all you do is convert to CIELAB, remove chroma, then convert to sRGB you'll get an identical result.

The only real difference is what gamma function to use, but the one used here (or even just square/squareroot) should give results that are nigh impossible to tell apart from sRGB.

Re:Conversion to Grayscale by Retr0id on Thursday September 05, 2024 @09:55AM (#41456675)