in reply to CGI file uploads
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: CGI file uploads
by Anonymous Monk on Feb 27, 2004 at 06:45 UTC |