Answer the question
In order to leave comments, you need to log in
How to completely replicate the Hue\Saturation tool from PS to Canvas?
I'm trying to replicate the full functionality of Hue\Saturation from Photoshop on Canvas. It’s just that the Master mode has already been repeated, there are ready-made solutions, but the setting for the range of colors (Red, Green, Yellow, Cyan, Blue, Magentas) has not yet been found.
If anyone knows a ready-made image processing library with such an opportunity, I will be grateful for a link or a name .
As a result, I myself decided to try to recreate this, it turns out we take imageData from canvas and translate each pixel from rgb into hsl and already look at Hue what color and shift it if necessary by a given number. Same with Saturation and Lighten. However, as a result, defects are obtained at the boundaries of different color ranges.. In PS, the transition from one range to another is somehow implemented, and thus smoothness is achieved, but I don’t quite understand how to implement this transition here.
Does anyone have any ideas or another approach to implement something like this?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question