Una animació té moltes capes i la seva grandària pot ser important. Això és un inconvenient per a una pàgina web. Els filtres Optimitzar permeten reduir aquesta mida. Molts elements són comuns a totes les capes de l'animació. Per tant, es poden desar una vegada en lloc d'anar desant cada capa i només desar el que s'ha modificat a cada capa.
El GIMP té dos filtres d'optimització: Optimitza (Diferència) i Optimitza (GIF). El resultat no és gaire diferent.
Imatge original
In this animation, the red ball goes downwards and past vertical bars. File size is 600 kB.
Optimitza (Diferència)
File size moved to 153 kB. Layers held only the part the background which will be used to remove the trace of the red ball. The common part of layers is transparent.
Optimitza (GIF)
File size moved to 154 kB, a bit bigger in the present example, but layer size has been reduced. Layers held only a rectangular selection which includes the part of the background which will be used to remove the trace of the red ball. The common part of layers is transparent.
El filtre «Desoptimitzar» elimina l'optimització en l'animació basada en capes. Podeu necessitar aquesta ordre si voleu editar l'animació i no és possible o no és útil desfer els canvis i començar a editar la imatge original.