Manuál PHP | ||
---|---|---|
PÅ™edcházejÃcà | DalÅ¡Ã |
imagecreatefromjpeg
Popis
resource imagecreatefromjpeg ( string filename )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:
Poznámky
Poznámka: Podpora formátu JPEG je k dispozici jen v pÅ™ÃpadÄ›, že bylo PHP zkompilováno s GD-1.8 nebo novÄ›jÅ¡Ã.
Varovánà |
Verze PHP pro Windows starÅ¡Ã než 4.3.0 nepodporuje pro tuto funkci dálkový pÅ™Ãstup k souborům, a to ani když je aktivnà volba allow_url_fopen. |
PÅ™edcházejÃcà | Domů | DalÅ¡Ã |
imagecreatefromgif | Nahoru |