imagecreatefromgif &gd.image.new; &reftitle.description; GdImagefalseimagecreatefromgif stringfilename imagecreatefromgif returns an image identifier representing the image obtained from the given filename. 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. &tip.fopen-wrapper; &reftitle.parameters; filename Path to the GIF image. &reftitle.returnvalues; &gd.return.identifier; &reftitle.changelog; &Version; &Description; 8.0.0 On success, this function returns a GDImage instance now; previously, a resource was returned. &reftitle.examples; Example to handle an error during loading of a GIF ]]> &example.outputs.similar; Output of example : Example to handle an error during loading of a GIF