Palettize Filter Feature Complete
Basically finished up Palettize filter:
- Added traditional per-channel offset ordered dither.
- Added Lab/RGB colourspace selection.
- Added alpha transparency options: off (passthrough), clip (can set threshold to zero to disable alpha), colour index (a bit hacky as KoColorSet doesn't use a regular integer index) and use dither.
- Added a bunch of dither appropriate patterns by David Gowers (Source: https://www.gnome-look.org/p/1106497/)
Did want to make the nearest colours mode blend between more than two colours but I couldn't get a satisfactory result. Still it produces cleaner, more pixel art friendly results and is more stable with image and palette changes than per-channel offset and can't really over-dither like that can.