Steve Kinney <> writes:

> To radically reduce the file size of an animated GIF, use the
> command Filters > Animation > Optimize (for GIF).  This will create
> a new image, with everything that does NOT change from one frame to
> the next, deleted from the next frame, from the bottom of the layer
> stack (first frame) to the top (last frame).

But always try exporting both with and without "Optimize (for GIF)".
When I try optimising, it typically makes the GIF file about 2 % larger
rather than smaller (example:

I've also tried ImageMagick's "convert -layers Optimize" on
GIMP-exported gifs. This either makes the file larger (regardless of if
I've used "Optimize (for GIF)" in GIMP first), or crashes with

convert: malloc.c:2369: sysmalloc: Assertion `(old_top == (((mbinptr) (((char 
*) &((av)->bins[((1) - 1) * 2])) - __builtin_offsetof (struct malloc_chunk, 
fd)))) && old_size == 0) || ((unsigned long) (old_size) >= (unsigned 
long)((((__builtin_offsetof (struct malloc_chunk, fd_nextsize))+((2 * 
(sizeof(size_t))) - 1)) & ~((2 * (sizeof(size_t))) - 1))) && ((old_top)->size & 
0x1) && ((unsigned long)old_end & pagemask) == 0)' failed.
Aborted (core dumped)

What does have a major effect, however, is doing Image→Mode→Indexed and
selecting some low number of colours. (This is where "Save for Web" is
handy, since it lets you type in numbers and press TAB and get a quick
preview of indexing. "Save for Web" doesn't save animations though, so
it's _only_ useful for that preview.)

Kevin Brubeck Unhammer

GPG: 0x766AC60C

Attachment: pgpvgS1H_TpfT.pgp
Description: PGP signature

gimp-user-list mailing list
List address:
List membership:

Reply via email to