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:
Nota: WBMP support is only available if PHP was compiled against GD-1.8 or later.
Sugerencia: Puede usar una URL como nombre de archivo con esta función si los "fopen wrappers" han sido activados. Consulte fopen() para más detalles.
Aviso |
La versión actual de PHP para Windows, no soporta el acceso remoto a ficheros en esta función, no funcionará incluso activando allow_url_fopen. |