imagecreatefromgd2

imagecreatefromgd2

(PHP 4 >= 4.0.7, PHP 5, PHP 7)

imagecreatefromgd2Create a new image from GD2 file or URL

Description

resource imagecreatefromgd2 ( string $filename )

Create a new image from GD2 file or URL.

Tip

A URL can be used as a filename with this function if the fopen wrappers have been enabled. See fopen(