<div dir="ltr">In the code, there is a lot of places using the cspĀ color space as an integer argument which passed to functions, so in the deeper functions have to use if statement to choose the right condition to execute, if we change this into template functions as the CSP value have only four different values.<div><br></div><div>Is it useful to change the csp color space function argument into the template function argument, as a lot of code may be changed?<br></div></div>