Open mknecht opened 10 years ago
Calculate.luminance() calculates a differing luminance than Filter.threshold(), rendering either one of them unusable if used in combination.
https://github.com/meltingice/CamanJS/blob/master/src/core/calculate.coffee#L27 https://github.com/meltingice/CamanJS-Plugins/blob/master/src/threshold.coffee#L3
Please use the former in the latter. Cost me quite a bit of time to notice differing luminance calculations.
Calculate.luminance() calculates a differing luminance than Filter.threshold(), rendering either one of them unusable if used in combination.
https://github.com/meltingice/CamanJS/blob/master/src/core/calculate.coffee#L27 https://github.com/meltingice/CamanJS-Plugins/blob/master/src/threshold.coffee#L3
Please use the former in the latter. Cost me quite a bit of time to notice differing luminance calculations.