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.

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

Namig: Kot ime datoteke lahko pri tej funkciji uporabite URL, če je vklopljena funkcija "fopen wrappers". Oglejte si fopen() za več informacij.

Pozor

Različica PHP za okolje Windows trenutno ne podpira odpiranja oddaljenih datotek, tudi če je nastavitev allow_url_fopen vklopljena.