$image = ImageCreateFromGIF($urlPath);
ImageGIF($image, $MyUrlPath);
Мне нужно именно через функцию ImageGIF().
Caution When reading GIF files into memory, only the first frame is returned in the image object. The size of the image is not necessarily what is reported by getimagesize().