T4121 Get a better native palette format.
ClosedPublic

Authored by woltherav on Feb 22 2017, 3:50 PM.

Details

Summary

This branch...

Makes a new filetype for Krita palettes: KPL.

These palettes can have groups, and unlike GPL palettes, they can save high bit depth colors. Then, we have the necessary functions to deal with adding/removing/searching for colorsetentries inside groups.

Thanks to @lsegovia we also have SBZ(swatchbooker) support.

I was not able to add embedded palette support. I came across a bug that I couldn't resolve, as noted in T5282.

This fixes T4121

Test Plan

It's build, I've been testing it for a few months now, etc.

Diff Detail

Repository
R37 Krita
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
woltherav created this revision.Feb 22 2017, 3:50 PM
woltherav created this object with edit policy "Krita (Project)".
woltherav edited the summary of this revision. (Show Details)
woltherav added a subscriber: lsegovia.

D3254 should probably be closed once this is merged.

rempt accepted this revision.Mar 14 2017, 1:48 PM
rempt added a subscriber: rempt.

Please merge the branch non-squashed, so we have the separate commits for the separate things. Next, i guess, we'll have to start working on the palette editor :-)

This revision is now accepted and ready to land.Mar 14 2017, 1:48 PM
This revision was automatically updated to reflect the committed changes.