imagecreatefromxpm

(PHP 4 >= 4.0.1)

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.

Suggerimento: È possibile utilizzare una URL come un nome di file con questa funzione se è stata abilitata l'opzione "fopen wrappers". Per maggiori informazioni vedere fopen().

Attenzione

la versione per Windows i PHP non supporta, al momento, l'accesso remoto ai file da parte di questa funzione, anche se allow_url_fopen è abilitato.