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:
Notatka: WBMP support is only available if PHP was compiled against GD-1.8 or later.
Podpowiedź: Jeśli włączona jest funkcja "fopen wrapper", możliwe jest podanie jako nazwy pliku adresu URL. Zobacz fopen() by uzyskać więcej informacji.
Ostrzeżenie |
Wersja PHP pracująca pod systemami Windows nie obsługuje dostępu do zdalnych plików w tej funkcji, nawet jeśli opcja allow_url_fopen jest włączona. |
Poprzedni | Spis treści | Następny |
imagecreatefromstring | Początek rozdziału | imagecreatefromxbm |