imagecreatefromgd2 Create a new image from GD2 file or URL &reftitle.description; GdImagefalseimagecreatefromgd2 stringfilename Create a new image from GD2 file or URL. &tip.fopen-wrapper; &reftitle.parameters; filename Path to the GD2 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; <function>imagecreatefromgd2</function> example ]]> &reftitle.notes; &gd.deprecated.gd-formats;