imagecreatefromwbmp() returns an image identifier representing the image obtained from the given filename.
imagecreatefromwbmp() returns an empty string on failure. It also outputs an error message, which unfortunately displays as a broken link in a browser. To ease debugging the following example will produce an error WBMP:
Megjegyzés: WBMP support is only available if PHP was compiled against GD-1.8 or later.
Tipp: URL-t is megadhatsz az állomány név paraméter helyén ha az "fopen wrappers" szolgáltatás be van kapcsolva. Bővebb információk az fopen() leírásánál olvashatóak.
Figyelem |
A PHP Windows rendszeren futó verziója jelenleg nem támogatja a távoli állomány elérést e függvény használatakor, még akkor sem, ha az allow_url_fopen engedélyezett. |