imagejpeg

imagejpeg

(PHP 4, PHP 5, PHP 7)

imagejpegOutput image to browser or file

Description

bool imagejpeg ( resource $image [, mixed $to [, int $quality ]] )

imagejpeg() creates a JPEG file from the given image.

Parameters

image

An image resource, returned by one of the image creation functions, such as 登录查看完整内容