imagejpeg

PHP 4, PHP 5, PHP 7, PHP 8
imagejpeg - Output image to browser or file
Manual
Code Examples

Example #1 Outputting a JPEG image to the browser

PHP Version:

Example #2 Saving a JPEG image to a file

PHP Version:

Example #3 Outputting the image at 75% quality to the browser

PHP Version:


Function imagejpeg:

Image Processing and GD Functions

Most used PHP functions