Skip to content

RGBA brushtips as gradient maps

This adds the option to use a RGBA brushtips as gradient maps. This allows not only multi-colored brushes, but much more flexibility with stamp brushes.

Also fixes issues with loading PNG brushes that are grayscale but have an alpha channel and should be loaded as RGBA brushes. Originally, if it saw it was grayscale, it would get rid of the alpha channel, but that means they can't be used with the new lightness and gradient modes. This checks if the image uses alpha anywhere in the image, and sets it as an RGBA image if it does.

Also fixes a bug in KoCachedGradient where changing the stored gradient added colors to the end of the colorlist instead of clearing the original colors and replacing them.

Also adds the ability to change the colorspace of the cached colors in KoCachedGradient.

Edited by Peter Schatz

Merge request reports

Loading