In step 2 of the color interpolation algorithm, it states:
- prepare both colors for conversion. this changes any powerless components to missing values.
While it doesn't link to the definition, "prepare a color col1 for conversion", the wording, and lack of other definition seem to imply that is what it is referring to.
But, the "prepare a color col1 for conversion" seems wrong here. The second step of "prepare a color col1 for conversion" states:
- If src is in a cylindrical polar color representation, convert col1 to the corresponding rectangular orthogonal color representation and let this be the new col1.
and we certainly don't want to do that before interpolation. Maintaining cylindrical polar color representation is one of the features of interpolation via the hue interpolation modes.
It seems the intent was probably just to apply the "Change any powerless components in src to missing components", but its getting more than it bargained for.
If that is the intent, probably the easiest edit is just to state that explicitly, especially since that would remove the need for the clarifying second part.
cc @svgeesus
In step 2 of the color interpolation algorithm, it states:
While it doesn't link to the definition, "prepare a color col1 for conversion", the wording, and lack of other definition seem to imply that is what it is referring to.
But, the "prepare a color col1 for conversion" seems wrong here. The second step of "prepare a color col1 for conversion" states:
and we certainly don't want to do that before interpolation. Maintaining cylindrical polar color representation is one of the features of interpolation via the hue interpolation modes.
It seems the intent was probably just to apply the "Change any powerless components in src to missing components", but its getting more than it bargained for.
If that is the intent, probably the easiest edit is just to state that explicitly, especially since that would remove the need for the clarifying second part.
cc @svgeesus