[GH-ISSUE #299] How to generate small sizes and compression best practices #1615

Open
opened 2026-03-01 18:46:56 +03:00 by kerem · 3 comments
Owner

Originally created by @ridhwaans on GitHub (Mar 21, 2018).
Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/299

When I make ~30s clips, the average size for Gifs tends to be from 50Mb to as high as 120Mb. Is there a strategy to allow for small size / compressed gifs? < 30 Mb?

Originally created by @ridhwaans on GitHub (Mar 21, 2018). Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/299 When I make ~30s clips, the average size for Gifs tends to be from 50Mb to as high as 120Mb. Is there a strategy to allow for small size / compressed gifs? < 30 Mb?
Author
Owner

@NickeManarin commented on GitHub (Mar 21, 2018):

Less changes between frames, smaller frame size.

If you can't do that, I recommend switching to video, such as mp4.

<!-- gh-comment-id:375125480 --> @NickeManarin commented on GitHub (Mar 21, 2018): Less changes between frames, smaller frame size. If you can't do that, I recommend switching to video, such as mp4.
Author
Owner

@vatterspun commented on GitHub (Apr 22, 2018):

A few tricks:

  1. Try "reduce frame count"
  2. Manually delete excess frames
  3. Crop the image to as small a view as possible
<!-- gh-comment-id:383422128 --> @vatterspun commented on GitHub (Apr 22, 2018): A few tricks: 1. Try "reduce frame count" 2. Manually delete excess frames 3. Crop the image to as small a view as possible
Author
Owner

@vatterspun commented on GitHub (May 5, 2018):

A few other tricks:

  1. Color reduction (see Color Limiter #317 thread), starting at 128, and then trying 64 and 32 colors to see what creates the smallest file.
  2. Reduce the overall size of the GIF using tools like ImgOps.com, Gif Resizer (http://www.ashongsoft.com/product/gif-resizer.html) or Leapic Gif Optimizer (http://www.leapic.com/free-gif-optimizer.htm), probably starting with 90%, and then less by 10% increments.
  3. Lossless GIF compression tools like FileOptimizer
<!-- gh-comment-id:386780352 --> @vatterspun commented on GitHub (May 5, 2018): A few other tricks: 1. Color reduction (see Color Limiter #317 thread), starting at 128, and then trying 64 and 32 colors to see what creates the smallest file. 2. Reduce the overall size of the GIF using tools like ImgOps.com, Gif Resizer (http://www.ashongsoft.com/product/gif-resizer.html) or Leapic Gif Optimizer (http://www.leapic.com/free-gif-optimizer.htm), probably starting with 90%, and then less by 10% increments. 3. Lossless GIF compression tools like FileOptimizer
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#1615
No description provided.