New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Colour reduction algorithm comparison #689
Comments
Check the This should be on by default I'd say, fix many color problem But even with this on, the light green progress bar is dark green with Neural Network, strange... This is what I got when capture you second gif (light green bar one with Octree)
Off topic. Have my thanks @NickeManarin, the new encoder is epic fast and have better performance than before! It's the best overall choice now (before gifski fix the flickring pixel issue :D) |
I still need to improve the global color palette building mechanism. Right now it only takes the first frame to build the palette.
Yes, because the light green color represents a tiny portion of the first frame. Neural takes that into account when deciding which colors to use.
You're welcome! :D
I'll take a look if a new version was released or not. |
The grayscale issue is something I've seen with other compression tools (e.g. Riot image compression). I don't have any understanding why what seems like fewer colors would take up MORE room, but I never dug into it very far. It does seem like there are fewer things to store without specific colors. |
@vatterspun The grayscale algorithm creates a global palette (it forces that, ignoring the checkbox) using all color slots available (selected via the "max colors" input). |
Ah, thanks for that |
I just updated to v2.26.1 and tried out the new colour reduction algorithms and figured I'd give some feedback.
Neural Network says it's good for lots of colours and works reasonably for the main body of the video, but did really badly on the progress bar at the bottom (5 pixels):
Octree gave me a smallest file size with a perfect progress bar and the expected colour banding. This is definitely the best one for my purposes.
Saying Median Cut is "less good" is a bit of an understatement. Larger file size, screwed up colours, banding in the progress bar, and horrendous ghosting all in one:
Greyscale looks good, but has the largest file size.
Most Used Colours is pretty bad too, with poor colouring (as expected) and a different kind of artifacts on the progress bar. But at least it gave the second smallest file size.
The text was updated successfully, but these errors were encountered: