imagecreatefromjpeg

imagecreatefromjpeg

(PHP 4, PHP 5, PHP 7)

imagecreatefromjpegCreate a new image from file or URL

Description

resource imagecreatefromjpeg ( string $filename )

imagecreatefromjpeg() returns an image identifier representing the image obtained from the given filename.

Tip

A URL can be used as a filename with this function if the fopen wrappers have been