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.

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

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

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.