title: How can I dynamically stack gifs horizontally to create one gif in python?
body: <p>What I need to do is combine two or more GIF files into one horizontally using Python. I thought about using PIL or ffmpeg but I could never really get anywhere. I found partial solutions on the internet, however they aren't exactly what I'm looking for. I'm looking for a way to add an uncertain amount of gifs to one horizontal strip gif. The sizes of each individual GIF are different, and the amount of GIFS being stacked horizontally changes depending on the user's input. Essentially a dynamic hstack filter for ffmpeg. Help would be appreciated!</p>