[GH-ISSUE #802] Automate reaching the perfect gif size ratio with a setting. #636

Open
opened 2026-02-26 09:32:08 +03:00 by kerem · 2 comments
Owner

Originally created by @alvivar on GitHub (Mar 8, 2021).
Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/802

I love this software, big thank you, it's the best.

Every time I make a gif, I'm looking for the bigger width / height possible without exceeding 5 MB. This way I can share it on forums and social networks with that limitation, while getting the best size, it's a fight between changing sizes and creating the gif lots of times.

I would like to contribute with the code to achieve this setting. I make lots of gifs and this is probably the most time consuming part of my ritual.

All suggestions, ideas or guidance are welcome!

Originally created by @alvivar on GitHub (Mar 8, 2021). Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/802 _I love this software, big thank you, it's the best._ Every time I make a gif, I'm looking for the bigger width / height possible without exceeding 5 MB. This way I can share it on forums and social networks with that limitation, while getting the best size, it's a fight between changing sizes and creating the gif lots of times. I would like to contribute with the code to achieve this setting. I make lots of gifs and this is probably the most time consuming part of my ritual. All suggestions, ideas or guidance are welcome!
Author
Owner

@NickeManarin commented on GitHub (Apr 23, 2021):

I'm glad that you love it :)

Without encoding the file in the background, I don't see a way to predict the file size.

<!-- gh-comment-id:825363296 --> @NickeManarin commented on GitHub (Apr 23, 2021): I'm glad that you love it :) Without encoding the file in the background, I don't see a way to predict the file size.
Author
Owner

@as3mbus commented on GitHub (Jul 18, 2021):

+1 on this feature

from my basic software understanding.
i would try to estimate based on recorded image stored in memory from application. and :

a. dig deeper into encoding software lib to find any estimation (if any)
b. make use of data size, options configuration informations as datasets and use it for machine learning to estimate file size. can either be served online or offline (but it will make the software much slower which we dont want)

just want to add that this software help me a lot in many situation. and really grateful for it :)

<!-- gh-comment-id:882056034 --> @as3mbus commented on GitHub (Jul 18, 2021): +1 on this feature from my basic software understanding. i would try to estimate based on recorded image stored in memory from application. and : a. dig deeper into encoding software lib to find any estimation (if any) b. make use of data size, options configuration informations as datasets and use it for machine learning to estimate file size. can either be served online or offline (but it will make the software much slower which we dont want) just want to add that this software help me a lot in many situation. and really grateful for it :)
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#636
No description provided.