mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
imagejpeg: clarify default quality
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@65774 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
6947456d0d
commit
e9d073fb91
1 changed files with 9 additions and 9 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.70 $ -->
|
||||
<!-- $Revision: 1.71 $ -->
|
||||
<reference id="ref.image">
|
||||
<title>Image functions</title>
|
||||
<titleabbrev>Image</titleabbrev>
|
||||
|
@ -1984,21 +1984,21 @@ ImagePng($im);
|
|||
(''). By sending an image/jpeg content-type using
|
||||
<function>header</function>, you can create a PHP script that
|
||||
outputs JPEG images directly.
|
||||
<note>
|
||||
<para>
|
||||
JPEG support is only available in PHP if PHP was compiled
|
||||
against GD-1.8 or later.
|
||||
</para>
|
||||
</note>
|
||||
</para>
|
||||
<note>
|
||||
<para>
|
||||
JPEG support is only available in PHP if PHP was compiled
|
||||
against GD-1.8 or later.
|
||||
</para>
|
||||
</note>
|
||||
<para>
|
||||
<parameter>quality</parameter> is optional, and ranges from
|
||||
0 (worst quality, smaller file) to 100 (best quality, biggest file).
|
||||
Default is to 100.
|
||||
The default is the default IJG quality value (about 75).
|
||||
</para>
|
||||
<para>
|
||||
If you want to output Progressive JPEGs, you need to set interlacing
|
||||
on with the <function>ImageInterlace</function>.
|
||||
on with <function>ImageInterlace</function>.
|
||||
</para>
|
||||
<para>
|
||||
See also
|
||||
|
|
Loading…
Reference in a new issue