jimw Thu Dec 20 15:38:26 2001 EDT
Modified files:
/phpdoc/en/functions image.xml
Log:
imagejpeg: clarify default quality
Index: phpdoc/en/functions/image.xml
diff -u phpdoc/en/functions/image.xml:1.70 phpdoc/en/functions/image.xml:1.71
--- phpdoc/en/functions/image.xml:1.70 Wed Dec 19 09:42:41 2001
+++ phpdoc/en/functions/image.xml Thu Dec 20 15:38:26 2001
@@ -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 @@
(''). 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