Gamut masking: saving mask in the .kra file
Open, Needs TriagePublic

Description

In traditional media, the artist would create a dedicated premixed palette based on a gamut mask (new or reused) for every artwork.

In Krita, there is no need for a premixed palette, the artist can work straight from the color selector with the mask applied. For that, the artist needs to know which mask was used when last working on a document and it's parameters.

A solution is to assign the gamut mask with the parameters to the document.

Feature workflow
The artist stores currently selected mask to active document. The stored mask can be changed or unlinked from the document.

The mask is reapplied upon opening the document.

When switching view, if the document in the view has a mask assigned, the mask is applied to selectors, if not, the previous mask is disabled in the selector.

Restoration of selector settings
The color selectors save their color model within the .kra file. The color model is set with the mask upon opening the document, to ensure color consistency.

  • Should there be a setting for it somewhere? In the selector?
  • How does the artist revert the change if she doesn’t like it?

Technical stuff
The mask resource is embedded in the KRA file. While the document is in the current view, it is present in the resource server.

Selector settings are saved in the XML (color model).

amedonosova updated the task description. (Show Details)Sep 7 2018, 3:54 PM
amedonosova updated the task description. (Show Details)Sep 10 2018, 2:27 PM
amedonosova updated the task description. (Show Details)Oct 4 2018, 6:38 AM
amedonosova updated the task description. (Show Details)Oct 10 2018, 2:25 PM
amedonosova updated the task description. (Show Details)Oct 12 2018, 2:45 PM
amedonosova updated the task description. (Show Details)
amedonosova updated the task description. (Show Details)Oct 12 2018, 4:49 PM
amedonosova updated the task description. (Show Details)Oct 29 2018, 2:54 PM

I used that feature a while now instead of my palette.
And workflow is more in a similar manner like you already wrote in the description.

When I would look for such an option it would be the existing settings dialog in artistic colour selector. Or a similar settings dialog in the gamut mask docker.