Assuming, for a proof-of-concept (PoC), that you have extracted 190, 1920x1080 pixels, images to a hypothetical directory. Further, assume that you want to create a gif to share on a social network. Well, you can play with the parameters below to achieve a 20MB gif that is decent to view, as seen in the teaser image above.
In Debian, you need to install ImageMagick
To further make the gif image leaner, you may want to apply a fuzz factor:
Of course, fuzz will decrease the quality of the gif; accordingly use judiciously.
Shodan Python Gif Creator.
Sample images to create Gif were extracted from Ruptly TV's media Germany: See female body-builders flex for FIBO bikini contest, for illustrative purposes only and with no intention of infringement.