Sunday, August 23, 2009

isanigif

got source of gif reader from optipng, and created the checking animated gif function by modifying gifdump.c.

Download compiled binary(Win32) and source.
isanigif.7z

How to use:
isanigif [-s]
when -s switch it shows the frame count.
returns exit code 0 if it is a static gif (only 1 frame in the gif file.)
returns exit code 1 if it is an animated gif or there is an error, check STDERR output for any error.

No comments:

Post a Comment