imagecreatefromjpeg() returns an image identifier representing the image obtained from the given filename.
imagecreatefromjpeg() 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 JPEG:
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 |
imagecreatefromgif | Pocz▒tek rozdzia│u | imagecreatefrompng |