|
imagejpegOutput image to browser or file Description
bool imagejpeg
( resource
$image
[, mixed $to
[, int $quality
]] )
imagejpeg creates a JPEG file from
the given Parameters
Return Values
Returns Examples
Example #1 Outputting a JPEG image to the browser
<?php The above example will output something similar to:
Example #2 Saving a JPEG image to a file
<?php
Example #3 Outputting the image at 75% quality to the browser
<?php Notes
Changelog
See Also
|