Open JohannesMP opened 6 years ago
Nice, a threshold for the algorithm that detects color changes would be less hard to code.
Related: #299 and #317. And this same process would likely also save space when exporting to the APNG format (#245).
I rewrote the color quantizers. The built-in quantizers now allows to select a maximum color count.
It would be useful if we could more aggressively Posterize the gif to be saved, to ensure that subtly different and changing colors are compressed into one non-changing mass of pixels.
Photoshop's 'save for web' legacy UI for gifs allowed the user to select the number of desired colors, as well as the ability to fine tune which colors the algorithm would actually try to use, settings for dithering, lossyness, etc.
Similarly, if the clip to be captured contains a subtle amount of noise but with colors that are not changing much otherwise, it would be useful to more aggressively consider those pixels as 'unchanging', something which the current 'Detect unchanged pixels' algorithm can be pretty bad at.