Re: [fxtf-drafts] [filter-effects-2] Add recolor() shorthand (#334)

> But the name recolor() suggests that it works on images that are already coloured. What about having an implicit saturate() as part of recolor()? If not, then perhaps colorize() is the more accurate name.

Saturate increases saturation (multiplies it by a scaling factor). For a grayscale image, the saturation is zero; multiplying it by anything still results in zero. On a hue wheel, all pixels are on the central achromatic axis - there is no hue direction that can be amplified.

I don't have an opinion on `recolor` vs. `colorize` except that the latter implies there is no existing color while the former expresses no opinion regarding any existing colors which are first discarded, then the grayscale image is colorized.

-- 
GitHub Notification of comment by svgeesus
Please view or discuss this issue at https://github.com/w3c/fxtf-drafts/issues/334#issuecomment-491540624 using your GitHub account

Received on Saturday, 11 May 2019 20:14:49 UTC