How GIF compression works
GIF dates from 1987. It stores images with LZW compression and a palette of at most 256 colours per frame. For still images, GIF is rarely the best choice: PNG, WebP and AVIF can store the same picture with more colours, usually in fewer bytes.
Picture Optimizer doesn't write GIF files. It reads the GIF and exports it in a modern format instead.
What Picture Optimizer does with a GIF
Picture Optimizer reads the first frame of a GIF and exports it as a still image in the format you pick: AVIF or JPG on every plan, WebP from Starter, PNG from Pro. It is resized and compressed like any other image.
Animation is not kept: a GIF with several frames comes out as a single still. If you need the animation, convert it with a tool that writes animated WebP; Google's WebP documentation notes that animated WebP files are smaller than GIFs. ShortPixel's WordPress plugin, for example, lists converting animated GIFs to animated WebP or AVIF.
Questions
Common questions about this tool.