The module Image::ParseGIF can break a GIF down into its component images and allow you to detect and reject animations.
use Image::ParseGIF; $gif = new Image::ParseGIF ("image.gif") or die "failed to parse: $@\n +"; print "Multiple parts\n" if $gif->parts > 1;
-Mark
In reply to Re: CGI file uploads
by kvale
in thread CGI file uploads
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |