Create a new image from a url or uploaded by file control
syntax:
resource imagecreatefromjpeg ( string
$filename )
Argument Detail:
filename Path to the JPEG image.
Return Values :
Returns an image resource identifier on success, FALSE on errors.
example:
$source = imagecreatefromjpeg($_FILES['file']['tmp_name']);
No comments:
Post a Comment