Why did this GIF file get so big? - Printable Version +- Gimp-Forum.net (https://www.gimp-forum.net) +-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP) +--- Forum: General questions (https://www.gimp-forum.net/Forum-General-questions) +--- Thread: Why did this GIF file get so big? (/Thread-Why-did-this-GIF-file-get-so-big) |
Why did this GIF file get so big? - Mark2855 - 07-19-2022 A Fiverr guy created a GIF for me, 4.3 MB. The free GifViewer program broke it down into individual... 612 frames, and a sum total of 61 MB. Why do the parts add up to so much bigger than the original? I didn't like the fact that 20 frames were used for some scenes, instead of just One frame each, with a longer duration. I deleted some frames, then GIMP adjusted the Duration of some frames. Ended up with just 123 frames, of various Durations. Still, the new GIF is 21 MB. Why so big? Thanks, people. Mark2855 RE: Why did this GIF file get so big? - Ofnuts - 07-19-2022 1) Possibly because the GIF was "optimized", with many frames being just the pixels that change from the previous frame, and thus being small. When you break it up into individual images, you generate 612 individual complete frames. For instance, if you have an optimized animation with one pixel moving over a 200x200 background, you have a first frame which is the initial state, and all other frames are 1x2 frames (or 2x2 frame for diagonal moves) where one pixel restores the background and one pixel paints the new position. When you break it up, you go from (1×200x200)+(199×2×2)=1196 pixels encoded in the optimized version to (200×200x200)=8000000 pixels (almost 7000x bigger...). 2) Did you re-optimize afterwards? |