imagecreatefromxpm

(PHP 4 >= 4.0.1, PHP 5)

imagecreatefromxpm -- Create a new image from file or URL

Description

resource imagecreatefromxpm ( string filename )

imagecreatefromxpm() returns an image identifier representing the image obtained from the given filename.

Tip: Je kunt een URL als bestandsnaam gebruiken met deze functie als de "fopen wrappers" aan staan. Zie fopen() voor meer informatie.

Parameters

filename

Path to the XPM image

Return Values

Returns an image resource identifier on success, FALSE on errors.

Return Values

Opmerking: This function is only available if PHP is compiled with the bundled version of the GD library.

Waarschuwing

Het remote laden door deze functie wordt op dit moment niet ondersteund door de Windows versie van PHP, zelfs niet als allow_url_fopen is ingeschakeld.