Resizing Gifs With Wand + Imagemagick
I am using Wand 0.3.7 with ImageMagick 6.8.8-10 to batch-resize some animated GIF files I have. But for some reason, Wand only resizes one frame in the image, leaving the others at
Solution 1:
You might try opening a new target Image
and loop every frame into that:
withImage() as dst_image:
withImage(filename=src_path) as src_image:
for frame in src_image.sequence:
frame.resize(x, y)
dst_image.sequence.append(frame)
dst_image.save(filename=dst_path)
works for me.
Post a Comment for "Resizing Gifs With Wand + Imagemagick"