imagecreatefrompng &gd.image.new; &reftitle.description; GdImagefalseimagecreatefrompng stringfilename imagecreatefrompng returns an image identifier representing the image obtained from the given filename. &tip.fopen-wrapper; &reftitle.parameters; filename Path to the PNG 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 PNG ]]> &example.outputs.similar; imagecreatefrompng() example