Forum und email

imagecreatefromxbm

(PHP 4 >= 4.0.1, PHP 5)

imagecreatefromxbm — Create a new image from file or URL

Popis

resource imagecreatefromxbm ( string $filename )

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

Tip

Môžete použiť URL ako názov súboru s touto funkciou ak boli fopen wrappery povolené. Pozri fopen() pre viac detailov ako určiť názov súboru a Zoznam Podporovaných Protokolov/Balíčkov pre zoznam podporovaných URL protokolov.

Warning

Windows verzie PHP staršie než PHP 4.3.0 nepodporujú pristupovanie k vzdialeným súborom cez túto funkciu, aj keď je allow_url_fopen povolená.

Parametre

filename

Path to the XBM image

Vrátené hodnoty

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