File Management – How to Divide GIFs into Animated and Static Ones

file managementgifwindows

I have a folder with hundreds of GIF images. Some are static, and others are dynamic. How can I separate the static GIFs from the dynamic ones?

Best Answer

You can use a free tool called ImageMagick. It can tell you how many images are in the GIF.

identify -format %n~%f\n *.gif

1~120406-00.gif
1~120406-01.gif
1~autonumbering.gif

%n number of images in current image sequence

%f filename (including suffix)

\n newline

The 1 is front indicates how many frames are in the image.

Anything more than 1 we can assume is an animated GIF.

Related Question