Gif Exporter
Is GIFexporter applicable to rendered view modes?
GIFExporter supports wire, solid, and material viewport modes.
Viewport output in rendering mode is not supported because it requires shading calculations.
You will need to perform a full rendering using the regular rendering flow and then export to the appropriate output format.