Mastodon Feed: Post

Mastodon Feed

Boosted by cstanhope@social.coop ("Your weary 'net denizen"):
doctormo@floss.social ("Martin Owens :inkscape: :flag_nonbinary:") wrote:

OK so the reason this is cool is because now the color sliders are not being rendered pixel by pixel, doing manual interpolation and converting each pixel into RGB before painting it. It is now rendering it as a gradient in the target color space and using the renderer's support for color spaces to convert the final thing into RGB for the widget.

This means that gradient interpolation in other color spaces works. And that rainbow bar is possible with just two color stops.

A set of color bars, the first one is a rainbow from red all the way to red passing through all the different colors. The second is a gray to green bar, the forth is a black to white passing through the same greenish color and the last is an alpha bar from gray to the same green.