inconsistency in transforming to gray scale

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: inconsistency in transforming to gray scale

Post by fmw42 »

OK. but lightness does work via

convert rose: -colorspace HSL -channel Blue -separate rose_lightness.png
convert rose: -fx "lightness" rose_fx_lightness.png
compare -metric rmse rose_fx_lightness.png rose_lightness.png null:
0 (0)


But none of my luminance comparisons work! (see ammended notes above). Should there be a one-to-one comparison with at least one pair?

Please correct my conversion syntax if they are wrong. I am not sure what to do with the rec..luma colorspaces or the luminance channel!
Post Reply