User1417933 84522 gold badges1111 silver badges1414 bronze badges one There seem like python bindings to ImageMagick: imagemagick.org/download/python. I have never applied them, but I've utilized ImageMagick, and it will do what you want. user1342784 Then, make an occasion of the MagicWandSettings class and initialize it with X and Y reference https://gunnermxdgd.collectblogs.com/83528664/the-definitive-guide-to-image-to-gif