Your choice: PNG (lossless, preserves the transparency common in GIFs), JPG (smaller files, no transparency) or WebP. Each frame becomes a file numbered by its order in the animation and prefixed with the source file's name, all gathered into a single .zip.