[GH-ISSUE #1] Progress bar detail gets lost with quality #1371

Closed
opened 2026-03-01 18:44:57 +03:00 by kerem · 11 comments
Owner

Originally created by @duarteframos on GitHub (Aug 6, 2016).
Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/1

Originally assigned to: @NickeManarin on GitHub.

Heard you were trying to move away from Codeplex to Github so I'll try to post issue here.

Not sure if this is something solvable without increasing file size or save quality, but see the GIF recorded here
My guess is the GIF compression ate away the detail of the progress bar, making it look fragmented or broken. It looked fine in the preview before saving

This release is great so far :)

Originally created by @duarteframos on GitHub (Aug 6, 2016). Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/1 Originally assigned to: @NickeManarin on GitHub. Heard you were trying to move away from Codeplex to Github so I'll try to post issue here. Not sure if this is something solvable without increasing file size or save quality, but see the GIF recorded [here](http://blender.stackexchange.com/a/60349/19307) My guess is the GIF compression ate away the detail of the progress bar, making it look fragmented or broken. It looked fine in the preview before saving This release is great so far :)
kerem 2026-03-01 18:44:57 +03:00
Author
Owner

@NickeManarin commented on GitHub (Aug 6, 2016):

Your guess is right. The neural quantizer (NeuQuant) algorithm transforms 24 bits images to 8 bits images (256 colors).

Since the bar increase it self piece by piece, the algorithm only takes into account a few number of pixels per frame. The other pixels that are changing take more "space" than the piece of the bar.

So the bar color information is lost when there's too much info per frame. :(

<!-- gh-comment-id:238003214 --> @NickeManarin commented on GitHub (Aug 6, 2016): Your guess is right. The neural quantizer (NeuQuant) algorithm transforms 24 bits images to 8 bits images (256 colors). Since the bar increase it self piece by piece, the algorithm only takes into account a few number of pixels per frame. The other pixels that are changing take more "space" than the piece of the bar. So the bar color information is lost when there's too much info per frame. :(
Author
Owner

@duarteframos commented on GitHub (Aug 6, 2016):

Ah that's too bad, but I suspected as much.
I use ScreentoGif mainly to help users out over Blender Stack exchange and upload sizes are limited to 2Mb there, so file sizes already very tight without increasing image quality.

Anyway thanks for the reply, keep up the great work.

<!-- gh-comment-id:238014245 --> @duarteframos commented on GitHub (Aug 6, 2016): Ah that's too bad, but I suspected as much. I use ScreentoGif mainly to help users out over Blender Stack exchange and upload sizes are limited to 2Mb there, so file sizes already very tight without increasing image quality. Anyway thanks for the reply, keep up the great work.
Author
Owner

@NickeManarin commented on GitHub (Sep 12, 2016):

I created from scratch a new encoder that avoids this bug. This new encoder lacks the current NeuQuant (color quantitizer) but I plan to improve with other color quantization algorithms.

<!-- gh-comment-id:246405701 --> @NickeManarin commented on GitHub (Sep 12, 2016): I created from scratch a new encoder that avoids this bug. This new encoder lacks the current NeuQuant (color quantitizer) but I plan to improve with other color quantization algorithms.
Author
Owner

@duarteframos commented on GitHub (Sep 12, 2016):

Wow you are tireless. That is great news, curious to see how it preforms.
I'll be keeping an eye on this 👍

<!-- gh-comment-id:246453513 --> @duarteframos commented on GitHub (Sep 12, 2016): Wow you are tireless. That is great news, curious to see how it preforms. I'll be keeping an eye on this :+1:
Author
Owner

@sirtet commented on GitHub (Nov 9, 2016):

Could a solution be to first add a background stripe, and let the progressbar run on that?

<!-- gh-comment-id:259300236 --> @sirtet commented on GitHub (Nov 9, 2016): Could a solution be to first add a background stripe, and let the progressbar run on that?
Author
Owner

@NickeManarin commented on GitHub (Jan 18, 2017):

No, the problem starts with gif encoder (the color quantization).

<!-- gh-comment-id:273504559 --> @NickeManarin commented on GitHub (Jan 18, 2017): No, the problem starts with gif encoder (the color quantization).
Author
Owner

@NickeManarin commented on GitHub (Feb 9, 2017):

I fixed a bug related to this issue, #79

<!-- gh-comment-id:278610550 --> @NickeManarin commented on GitHub (Feb 9, 2017): I fixed a bug related to this issue, #79
Author
Owner

@NickeManarin commented on GitHub (Jul 13, 2017):

There's a new color quantization algorithm almost ready for the encoder 2.0.

<!-- gh-comment-id:315055820 --> @NickeManarin commented on GitHub (Jul 13, 2017): There's a new color quantization algorithm almost ready for the encoder 2.0.
Author
Owner

@duarteframos commented on GitHub (Jul 13, 2017):

Yeah, cool! Looking forward to seeing it in action

<!-- gh-comment-id:315064856 --> @duarteframos commented on GitHub (Jul 13, 2017): Yeah, cool! Looking forward to seeing it in action
Author
Owner

@NickeManarin commented on GitHub (Jul 31, 2017):

Previous (1.5 MB):
taurm

New (1.11 MB):
256

I noticed the color banding, but at least the progress bar is alright.

<!-- gh-comment-id:318947126 --> @NickeManarin commented on GitHub (Jul 31, 2017): Previous (1.5 MB): ![taurm](https://user-images.githubusercontent.com/14798947/28759783-a4bfc474-7577-11e7-9fc5-2bd71c62f8a1.gif) New (1.11 MB): ![256](https://user-images.githubusercontent.com/14798947/28759770-71b0adfa-7577-11e7-9177-c9e6306802c9.gif) I noticed the color banding, but at least the progress bar is alright.
Author
Owner

@duarteframos commented on GitHub (Jul 31, 2017):

Wow this is absolutely fantastic, both improved image quality and reduced file size!
Banding is barely noticeable at all, and quite an acceptable compromise for the quality gains.

This will make long GIFs a lot easier to watch. Thanks a lot! :)

<!-- gh-comment-id:318962086 --> @duarteframos commented on GitHub (Jul 31, 2017): Wow this is absolutely fantastic, both improved image quality and reduced file size! Banding is barely noticeable at all, and quite an acceptable compromise for the quality gains. This will make long GIFs a lot easier to watch. Thanks a lot! :)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ScreenToGif#1371
No description provided.