note 6634 modified in ImageJPEG by ronabop
| From: | ronabop@php.net | Date: | Wed, 04 Oct 2000 14:42:08 +0000 |
| Subject: | note 6634 modified in ImageJPEG by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-6025@lists.php.net to get a copy of this message | ||
For example:
<?
Header("Content-type: image/jpeg");
$im = imagecreatefromjpeg("./test.jpg");
Imagejpeg($im,'',20);
ImageDestroy($im);
?>
the jpeg quality from 0 to 100
http://www.php.net/manual/function.imagejpeg.php