imagecreatefromxbm
(PHP 4 >= 4.0.1, PHP 5)
imagecreatefromxbm — Create a new image from file or URL
Descrizione
resource imagecreatefromxbm
( string $filename
)
imagecreatefromxbm() 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 fopen wrappers è stata abilitata. Per maggiori informazioni su come specificare i nomi di file vedere fopen() e List of Supported Protocols/Wrappers per avere la lista dei protocolli URL supportati.
Avviso
la versione per Windows di PHP antecedente la 4.3.0 non supporta l'accesso remoto ai file da parte di questa funzione, anche se allow_url_fopen è abilitato.
Elenco dei parametri
- filename
-
Path to the XBM image
Valori restituiti
Returns an image resource identifier on success, FALSE on errors.