How to transform/export the animation created in the AnimationPlayer into a GIF file?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By GoldenTip

Hello!
The question is very straightforward, I created several ambient animations and “Cutscenes” using various nodes like particles, color changes, sprites, etc in the AnimationPlayer node and I would like to convert or export them to GIF files, is there any way to do this in Godot either a built.in function or via code?

I know that this can be done using external screen recording programs, but I would like to have the cleanest and fastest recordings to create, also that there are several animations that I have created (and that I am going to create)

The additional objective is to create a kind of memory of some scenes saved with your own progress in a gif animation so that this can be shown on social networks like twitter, etc.