cvs: phpdoc /en/reference/image/functions image2wbmp.xml imagearc.xml imagechar.xml imagecharup.xml imagecolorallocate.xml imagecolortransparent.xml
imagecreatefromgif.xml imagecreatefromjpeg.xml imagecreatefrompng.xml imagecreatefromstring.xml imagecreatefromwbmp.xml imagedestroy.xml
imageellipse.xml imagefilledarc.xml imagefilledellipse.xml imagefilledpolygon.xml imagegd.xml imagegd2.xml imagegif.xml imagejpeg.xml imageline.xml
imageloadfont.xml imagepolygon.xml imagepsloadfont.xml imagesetpixel.xml imagesetstyle.xml imagestring.xml imagesx.xml imagesy.xml imagettftext.xml
imagewbmp.xml

From: Date: Wed, 10 Aug 2005 04:48:13 +0000
Subject: cvs: phpdoc /en/reference/image/functions image2wbmp.xml imagearc.xml imagechar.xml imagecharup.xml imagecolorallocate.xml imagecolortransparent.xml
imagecreatefromgif.xml imagecreatefromjpeg.xml imagecreatefrompng.xml imagecreatefromstring.xml imagecreatefromwbmp.xml imagedestroy.xml
imageellipse.xml imagefilledarc.xml imagefilledellipse.xml imagefilledpolygon.xml imagegd.xml imagegd2.xml imagegif.xml imagejpeg.xml imageline.xml
imageloadfont.xml imagepolygon.xml imagepsloadfont.xml imagesetpixel.xml imagesetstyle.xml imagestring.xml imagesx.xml imagesy.xml imagettftext.xml
imagewbmp.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969369534@lists.php.net to get a copy of this message
philip Wed Aug 10 00:48:13 2005 EDT Modified files: /phpdoc/en/reference/image/functions image2wbmp.xml imagearc.xml imagechar.xml imagecharup.xml imagecolorallocate.xml imagecolortransparent.xml imagecreatefromgif.xml imagecreatefromjpeg.xml imagecreatefrompng.xml imagecreatefromstring.xml imagecreatefromwbmp.xml imagedestroy.xml imageellipse.xml imagefilledarc.xml imagefilledellipse.xml imagefilledpolygon.xml imagegd.xml imagegd2.xml imagegif.xml imagejpeg.xml imageline.xml imageloadfont.xml imagepolygon.xml imagepsloadfont.xml imagesetpixel.xml imagesetstyle.xml imagestring.xml imagesx.xml imagesy.xml imagettftext.xml imagewbmp.xml Log: Refer to and use imagecreatetruecolor() instead of imagecreate().

http://cvs.php.net/diff.php/phpdoc/en/reference/image/functions/image2wbmp.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc/en/reference/image/functions/image2wbmp.xml diff -u phpdoc/en/reference/image/functions/image2wbmp.xml:1.6 phpdoc/en/reference/image/functions/image2wbmp.xml:1.7 --- phpdoc/en/reference/image/functions/image2wbmp.xml:1.6 Tue Feb 17 16:51:54 2004 +++ phpdoc/en/reference/image/functions/image2wbmp.xml Wed Aug 10 00:48:10 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- splitted from ./en/functions/image.xml, last change in rev 1.61 --> <refentry id="function.image2wbmp"> <refnamediv> @@ -18,7 +18,8 @@ <function>image2wbmp</function> creates the <acronym>WBMP</acronym> file in filename from the image <parameter>image</parameter>. The <parameter>image</parameter> argument - is the return from <function>imagecreate</function>. + is the return from one of the image create functions, such as + <function>imagecreatetruecolor</function>. </para> <para> The filename argument is optional, and if left off, the raw image http://cvs.php.net/diff.php/phpdoc/en/reference/image/functions/imagearc.xml?r1=1.8&r2=1.9&ty=u Index: phpdoc/en/reference/image/functions/imagearc.xml diff -u phpdoc/en/reference/image/functions/imagearc.xml:1.8 phpdoc/en/reference/image/functions/imagearc.xml:1.9 --- phpdoc/en/reference/image/functions/imagearc.xml:1.8 Thu Jun 23 12:53:23 2005 +++ phpdoc/en/reference/image/functions/imagearc.xml Wed Aug 10 00:48:11 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> +<!-- $Revision: 1.9 $ --> <!-- splitted from ./en/functions/image.xml, last change in rev 1.36 --> <refentry id="function.imagearc"> <refnamediv> @@ -37,7 +37,7 @@ <?php // create a 200*200 image -$img = imagecreate(200, 200); +$img = imagecreatetruecolor(200, 200); // allocate some colors $white = imagecolorallocate($img, 255, 255, 255); http://cvs.php.net/diff.php/phpdoc/en/reference/image/functions/imagechar.xml?r1=1.8&r2=1.9&ty=u Index: phpdoc/en/reference/image/functions/imagechar.xml diff -u phpdoc/en/reference/image/functions/imagechar.xml:1.8 phpdoc/en/reference/image/functions/imagechar.xml:1.9 --- phpdoc/en/reference/image/functions/imagechar.xml:1.8 Thu Jun 23 12:53:23 2005 +++ phpdoc/en/reference/image/functions/imagechar.xml Wed Aug 10 00:48:11 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> +<!-- $Revision: 1.9 $ --> <!-- splitted from ./en/functions/image.xml, last change in rev 1.36 --> <refentry id="function.imagechar"> <refnamediv> @@ -33,7 +33,7 @@ <![CDATA[ <?php -$im = imagecreate(100, 100); +$im = imagecreatetruecolor(100, 100); $string = 'PHP'; http://cvs.php.net/diff.php/phpdoc/en/reference/image/functions/imagecharup.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc/en/reference/image/functions/imagecharup.xml diff -u phpdoc/en/reference/image/functions/imagecharup.xml:1.7 phpdoc/en/reference/image/functions/imagecharup.xml:1.8 --- phpdoc/en/reference/image/functions/imagecharup.xml:1.7 Thu Jun 23 12:53:23 2005 +++ phpdoc/en/reference/image/functions/imagecharup.xml Wed Aug 10 00:48:11 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <!-- splitted from ./en/functions/image.xml, last change in rev 1.36 --> <refentry id="function.imagecharup"> <refnamediv> @@ -33,7 +33,7 @@ <![CDATA[ <?php -$im = imagecreate(100, 100); +$im = imagecreatetruecolor(100, 100); $string = 'Note that the first letter is a N'; http://cvs.php.net/diff.php/phpdoc/en/reference/image/functions/imagecolorallocate.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc/en/reference/image/functions/imagecolorallocate.xml diff -u phpdoc/en/reference/image/functions/imagecolorallocate.xml:1.7 phpdoc/en/reference/image/functions/imagecolorallocate.xml:1.8 --- phpdoc/en/reference/image/functions/imagecolorallocate.xml:1.7 Tue Aug 26 01:36:00 2003 +++ phpdoc/en/reference/image/functions/imagecolorallocate.xml Wed Aug 10 00:48:11 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <!-- splitted from ./en/functions/image.xml, last change in rev 1.36 --> <refentry id="function.imagecolorallocate"> <refnamediv> @@ -19,7 +19,7 @@ <function>imagecolorallocate</function> returns a color identifier representing the color composed of the given <acronym>RGB</acronym> components. The <parameter>image</parameter> - argument is the return from the <function>imagecreate</function> + argument is the return from the <function>imagecreatetruecolor</function> function. <parameter>red</parameter>, <parameter>green</parameter> and <parameter>blue</parameter> are the values of the red, green and blue component of the requested color respectively. These parameters are @@ -40,6 +40,7 @@ <![CDATA[ <?php +$im = imagecreatetruecolor('example.jpg'); // sets background to red $background = imagecolorallocate($im, 255, 0, 0); http://cvs.php.net/diff.php/phpdoc/en/reference/image/functions/imagecolortransparent.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc/en/reference/image/functions/imagecolortransparent.xml diff -u phpdoc/en/reference/image/functions/imagecolortransparent.xml:1.6 phpdoc/en/reference/image/functions/imagecolortransparent.xml:1.7 --- phpdoc/en/reference/image/functions/imagecolortransparent.xml:1.6 Sun Aug 29 06:49:38 2004 +++ phpdoc/en/reference/image/functions/imagecolortransparent.xml Wed Aug 10 00:48:11 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- splitted from ./en/functions/image.xml, last change in rev 1.36 --> <refentry id="function.imagecolortransparent"> <refnamediv> @@ -17,7 +17,7 @@ <function>imagecolortransparent</function> sets the transparent color in the <parameter>image</parameter> image to <parameter>color</parameter>. <parameter>image</parameter> is the - image identifier returned by <function>imagecreate</function> and + image identifier returned by <function>imagecreatetruecolor</function> and <parameter>color</parameter> is a color identifier returned by <function>imagecolorallocate</function>. </para> http://cvs.php.net/diff.php/phpdoc/en/reference/image/functions/imagecreatefromgif.xml?r1=1.11&r2=1.12&ty=u Index: phpdoc/en/reference/image/functions/imagecreatefromgif.xml diff -u phpdoc/en/reference/image/functions/imagecreatefromgif.xml:1.11 phpdoc/en/reference/image/functions/imagecreatefromgif.xml:1.12 --- phpdoc/en/reference/image/functions/imagecreatefromgif.xml:1.11 Thu Sep 9 06:00:17 2004 +++ phpdoc/en/reference/image/functions/imagecreatefromgif.xml Wed Aug 10 00:48:11 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> +<!-- $Revision: 1.12 $ --> <!-- splitted from ./en/functions/image.xml, last change in rev 1.2 --> <refentry id="function.imagecreatefromgif"> <refnamediv> @@ -33,7 +33,7 @@ { $im = @imagecreatefromgif ($imgname); /* Attempt to open */ if (!$im) { /* See if it failed */ - $im = imagecreate (150, 30); /* Create a blank image */ + $im = imagecreatetruecolor (150, 30); /* Create a blank image */ $bgc = imagecolorallocate ($im, 255, 255, 255); $tc = imagecolorallocate ($im, 0, 0, 0); imagefilledrectangle ($im, 0, 0, 150, 30, $bgc); http://cvs.php.net/diff.php/phpdoc/en/reference/image/functions/imagecreatefromjpeg.xml?r1=1.9&r2=1.10&ty=u Index: phpdoc/en/reference/image/functions/imagecreatefromjpeg.xml diff -u phpdoc/en/reference/image/functions/imagecreatefromjpeg.xml:1.9 phpdoc/en/reference/image/functions/imagecreatefromjpeg.xml:1.10 --- phpdoc/en/reference/image/functions/imagecreatefromjpeg.xml:1.9 Mon Feb 21 15:59:54 2005 +++ phpdoc/en/reference/image/functions/imagecreatefromjpeg.xml Wed Aug 10 00:48:11 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> +<!-- $Revision: 1.10 $ --> <!-- splitted from ./en/functions/image.xml, last change in rev 1.4 --> <refentry id="function.imagecreatefromjpeg"> <refnamediv> @@ -33,7 +33,7 @@ { $im = @imagecreatefromjpeg($imgname); /* Attempt to open */ if (!$im) { /* See if it failed */ - $im = imagecreate(150, 30); /* Create a blank image */ + $im = imagecreatruecolor(150, 30); /* Create a blank image */ $bgc = imagecolorallocate($im, 255, 255, 255); $tc = imagecolorallocate($im, 0, 0, 0); imagefilledrectangle($im, 0, 0, 150, 30, $bgc); http://cvs.php.net/diff.php/phpdoc/en/reference/image/functions/imagecreatefrompng.xml?r1=1.8&r2=1.9&ty=u Index: phpdoc/en/reference/image/functions/imagecreatefrompng.xml diff -u phpdoc/en/reference/image/functions/imagecreatefrompng.xml:1.8 phpdoc/en/reference/image/functions/imagecreatefrompng.xml:1.9 --- phpdoc/en/reference/image/functions/imagecreatefrompng.xml:1.8 Thu Jan 15 07:42:37 2004 +++ phpdoc/en/reference/image/functions/imagecreatefrompng.xml Wed Aug 10 00:48:11 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> +<!-- $Revision: 1.9 $ --> <!-- splitted from ./en/functions/image.xml, last change in rev 1.4 --> <refentry id="function.imagecreatefrompng"> <refnamediv> @@ -33,7 +33,7 @@ { $im = @imagecreatefrompng($imgname); /* Attempt to open */ if (!$im) { /* See if it failed */ - $im = imagecreate(150, 30); /* Create a blank image */ + $im = imagecreatetruecolor(150, 30); /* Create a blank image */ $bgc = imagecolorallocate($im, 255, 255, 255); $tc = imagecolorallocate($im, 0, 0, 0); imagefilledrectangle($im, 0, 0, 150, 30, $bgc); http://cvs.php.net/diff.php/phpdoc/en/reference/image/functions/imagecreatefromstring.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/image/functions/imagecreatefromstring.xml diff -u phpdoc/en/reference/image/functions/imagecreatefromstring.xml:1.5 phpdoc/en/reference/image/functions/imagecreatefromstring.xml:1.6 --- phpdoc/en/reference/image/functions/imagecreatefromstring.xml:1.5 Thu Aug 12 21:00:46 2004 +++ phpdoc/en/reference/image/functions/imagecreatefromstring.xml Wed Aug 10 00:48:11 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- splitted from ./en/functions/image.xml, last change in rev 1.31 --> <refentry id="function.imagecreatefromstring"> <refnamediv> @@ -33,7 +33,7 @@ <function>imagecreatefromjpeg</function>, <function>imagecreatefrompng</function>, <function>imagecreatefromgif</function>&listendand; - <function>imagecreate</function> + <function>imagecreatetruecolor</function> </para> </refsect1> <refsect1> http://cvs.php.net/diff.php/phpdoc/en/reference/image/functions/imagecreatefromwbmp.xml?r1=1.9&r2=1.10&ty=u Index: phpdoc/en/reference/image/functions/imagecreatefromwbmp.xml diff -u phpdoc/en/reference/image/functions/imagecreatefromwbmp.xml:1.9 phpdoc/en/reference/image/functions/imagecreatefromwbmp.xml:1.10 --- phpdoc/en/reference/image/functions/imagecreatefromwbmp.xml:1.9 Mon Feb 21 15:59:54 2005 +++ phpdoc/en/reference/image/functions/imagecreatefromwbmp.xml Wed Aug 10 00:48:11 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> +<!-- $Revision: 1.10 $ --> <!-- splitted from ./en/functions/image.xml, last change in rev 1.30 --> <refentry id="function.imagecreatefromwbmp"> <refnamediv> @@ -33,7 +33,7 @@ { $im = @imagecreatefromwbmp($imgname); /* Attempt to open */ if (!$im) { /* See if it failed */ - $im = imagecreate (20, 20); /* Create a blank image */ + $im = imagecreatetruecolor (20, 20); /* Create a blank image */ $bgc = imagecolorallocate($im, 255, 255, 255); $tc = imagecolorallocate($im, 0, 0, 0); imagefilledrectangle($im, 0, 0, 10, 10, $bgc); http://cvs.php.net/diff.php/phpdoc/en/reference/image/functions/imagedestroy.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc/en/reference/image/functions/imagedestroy.xml diff -u phpdoc/en/reference/image/functions/imagedestroy.xml:1.4 phpdoc/en/reference/image/functions/imagedestroy.xml:1.5 --- phpdoc/en/reference/image/functions/imagedestroy.xml:1.4 Mon Jun 21 07:45:37 2004 +++ phpdoc/en/reference/image/functions/imagedestroy.xml Wed Aug 10 00:48:11 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./en/functions/image.xml, last change in rev 1.2 --> <refentry id="function.imagedestroy"> <refnamediv> @@ -15,8 +15,8 @@ <para> <function>imagedestroy</function> frees any memory associated with image <parameter>image</parameter>. <parameter>image</parameter> - is the image identifier returned by the - <function>imagecreate</function> function. + is the image identifier returned by one of the image create functions, + such as <function>imagecreatetruecolor</function>. </para> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc/en/reference/image/functions/imageellipse.xml?r1=1.8&r2=1.9&ty=u Index: phpdoc/en/reference/image/functions/imageellipse.xml diff -u phpdoc/en/reference/image/functions/imageellipse.xml:1.8 phpdoc/en/reference/image/functions/imageellipse.xml:1.9 --- phpdoc/en/reference/image/functions/imageellipse.xml:1.8 Thu Jun 23 12:53:23 2005 +++ phpdoc/en/reference/image/functions/imageellipse.xml Wed Aug 10 00:48:11 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> +<!-- $Revision: 1.9 $ --> <!-- splitted from ./en/functions/image.xml, last change in rev 1.36 --> <refentry id="function.imageellipse"> <refnamediv> @@ -37,7 +37,7 @@ <?php // create a blank image -$image = imagecreate(400, 300); +$image = imagecreatetruecolor(400, 300); // fill the background color $bg = imagecolorallocate($image, 0, 0, 0); http://cvs.php.net/diff.php/phpdoc/en/reference/image/functions/imagefilledarc.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc/en/reference/image/functions/imagefilledarc.xml diff -u phpdoc/en/reference/image/functions/imagefilledarc.xml:1.7 phpdoc/en/reference/image/functions/imagefilledarc.xml:1.8 --- phpdoc/en/reference/image/functions/imagefilledarc.xml:1.7 Fri Jun 11 04:25:38 2004 +++ phpdoc/en/reference/image/functions/imagefilledarc.xml Wed Aug 10 00:48:11 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <!-- splitted from ./en/functions/image.xml, last change in rev 1.36 --> <refentry id="function.imagefilledarc"> <refnamediv> @@ -57,7 +57,7 @@ // this example is provided by poxy at klam dot is // create image -$image = imagecreate(100, 100); +$image = imagecreatetruecolor(100, 100); // allocate some solors $white = imagecolorallocate($image, 0xFF, 0xFF, 0xFF); http://cvs.php.net/diff.php/phpdoc/en/reference/image/functions/imagefilledellipse.xml?r1=1.10&r2=1.11&ty=u Index: phpdoc/en/reference/image/functions/imagefilledellipse.xml diff -u phpdoc/en/reference/image/functions/imagefilledellipse.xml:1.10 phpdoc/en/reference/image/functions/imagefilledellipse.xml:1.11 --- phpdoc/en/reference/image/functions/imagefilledellipse.xml:1.10 Fri Jun 11 04:25:38 2004 +++ phpdoc/en/reference/image/functions/imagefilledellipse.xml Wed Aug 10 00:48:11 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> +<!-- $Revision: 1.11 $ --> <!-- splitted from ./en/functions/image.xml, last change in rev 1.36 --> <refentry id="function.imagefilledellipse"> <refnamediv> @@ -38,7 +38,7 @@ <?php // create a blank image -$image = imagecreate(400, 300); +$image = imagecreatetruecolor(400, 300); // fill the background color $bg = imagecolorallocate($image, 0, 0, 0); http://cvs.php.net/diff.php/phpdoc/en/reference/image/functions/imagefilledpolygon.xml?r1=1.8&r2=1.9&ty=u Index: phpdoc/en/reference/image/functions/imagefilledpolygon.xml diff -u phpdoc/en/reference/image/functions/imagefilledpolygon.xml:1.8 phpdoc/en/reference/image/functions/imagefilledpolygon.xml:1.9 --- phpdoc/en/reference/image/functions/imagefilledpolygon.xml:1.8 Thu Jun 23 12:53:23 2005 +++ phpdoc/en/reference/image/functions/imagefilledpolygon.xml Wed Aug 10 00:48:11 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> +<!-- $Revision: 1.9 $ --> <!-- splitted from ./en/functions/image.xml, last change in rev 1.2 --> <refentry id="function.imagefilledpolygon"> <refnamediv> @@ -45,7 +45,7 @@ ); // create image -$image = imagecreate(250, 250); +$image = imagecreatetruecolor(250, 250); // some colors $bg = imagecolorallocate($image, 200, 200, 200); http://cvs.php.net/diff.php/phpdoc/en/reference/image/functions/imagegd.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/image/functions/imagegd.xml diff -u phpdoc/en/reference/image/functions/imagegd.xml:1.5 phpdoc/en/reference/image/functions/imagegd.xml:1.6 --- phpdoc/en/reference/image/functions/imagegd.xml:1.5 Wed Jan 19 06:05:07 2005 +++ phpdoc/en/reference/image/functions/imagegd.xml Wed Aug 10 00:48:11 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- splitted from ./en/functions/image.xml, last change in rev 1.67 --> <refentry id='function.imagegd'> <refnamediv> @@ -16,7 +16,7 @@ <para> <function>imagegd</function> outputs a GD image to <parameter>filename</parameter>. The <parameter>image</parameter> - argument is the return from the <function>imagecreate</function> + argument is the return from the <function>imagecreatetruecolor</function> function. </para> <para> http://cvs.php.net/diff.php/phpdoc/en/reference/image/functions/imagegd2.xml?r1=1.12&r2=1.13&ty=u Index: phpdoc/en/reference/image/functions/imagegd2.xml diff -u phpdoc/en/reference/image/functions/imagegd2.xml:1.12 phpdoc/en/reference/image/functions/imagegd2.xml:1.13 --- phpdoc/en/reference/image/functions/imagegd2.xml:1.12 Mon Feb 21 16:11:08 2005 +++ phpdoc/en/reference/image/functions/imagegd2.xml Wed Aug 10 00:48:11 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.12 $ --> +<!-- $Revision: 1.13 $ --> <!-- splitted from ./en/functions/image.xml, last change in rev 1.67 --> <refentry id='function.imagegd2'> <refnamediv> @@ -19,7 +19,7 @@ <function>imagegd2</function> outputs a GD2 image to <parameter>filename</parameter>. The <parameter>image</parameter> parameter is the return from the - <function>imagecreate</function> function. + <function>imagecreatetruecolor</function> function. </para> <para> The <parameter>filename</parameter> parameter is optional, and if left http://cvs.php.net/diff.php/phpdoc/en/reference/image/functions/imagegif.xml?r1=1.9&r2=1.10&ty=u Index: phpdoc/en/reference/image/functions/imagegif.xml diff -u phpdoc/en/reference/image/functions/imagegif.xml:1.9 phpdoc/en/reference/image/functions/imagegif.xml:1.10 --- phpdoc/en/reference/image/functions/imagegif.xml:1.9 Mon Jun 21 07:45:37 2004 +++ phpdoc/en/reference/image/functions/imagegif.xml Wed Aug 10 00:48:11 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> +<!-- $Revision: 1.10 $ --> <!-- splitted from ./en/functions/image.xml, last change in rev 1.3 --> <refentry id="function.imagegif"> <refnamediv> @@ -17,7 +17,7 @@ <function>imagegif</function> creates the <acronym>GIF</acronym> file in filename from the image <parameter>image</parameter>. The <parameter>image</parameter> argument is the return from the - <function>imagecreate</function> function. + <function>imagecreatetruecolor</function> function. </para> <para> The image format will be <acronym>GIF87a</acronym> unless the http://cvs.php.net/diff.php/phpdoc/en/reference/image/functions/imagejpeg.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/image/functions/imagejpeg.xml diff -u phpdoc/en/reference/image/functions/imagejpeg.xml:1.5 phpdoc/en/reference/image/functions/imagejpeg.xml:1.6 --- phpdoc/en/reference/image/functions/imagejpeg.xml:1.5 Mon Feb 21 15:59:53 2005 +++ phpdoc/en/reference/image/functions/imagejpeg.xml Wed Aug 10 00:48:11 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- splitted from ./en/functions/image.xml, last change in rev 1.30 --> <refentry id="function.imagejpeg"> <refnamediv> @@ -18,7 +18,7 @@ <function>imagejpeg</function> creates the <acronym>JPEG</acronym> file in filename from the image <parameter>image</parameter>. The <parameter>image</parameter> argument - is the return from the <function>imagecreate</function> function. + is the return from the <function>imagecreatetruecolor</function> function. </para> <para> The filename argument is optional, and if left off, the raw image http://cvs.php.net/diff.php/phpdoc/en/reference/image/functions/imageline.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc/en/reference/image/functions/imageline.xml diff -u phpdoc/en/reference/image/functions/imageline.xml:1.7 phpdoc/en/reference/image/functions/imageline.xml:1.8 --- phpdoc/en/reference/image/functions/imageline.xml:1.7 Thu Jun 23 12:53:23 2005 +++ phpdoc/en/reference/image/functions/imageline.xml Wed Aug 10 00:48:11 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <!-- splitted from ./en/functions/image.xml, last change in rev 1.2 --> <refentry id="function.imageline"> <refnamediv> @@ -59,7 +59,7 @@ </programlisting> </example> <para> - See also <function>imagecreate</function> and + See also <function>imagecreatetruecolor</function> and <function>imagecolorallocate</function>. </para> </refsect1> http://cvs.php.net/diff.php/phpdoc/en/reference/image/functions/imageloadfont.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc/en/reference/image/functions/imageloadfont.xml diff -u phpdoc/en/reference/image/functions/imageloadfont.xml:1.3 phpdoc/en/reference/image/functions/imageloadfont.xml:1.4 --- phpdoc/en/reference/image/functions/imageloadfont.xml:1.3 Tue Jul 27 12:29:46 2004 +++ phpdoc/en/reference/image/functions/imageloadfont.xml Wed Aug 10 00:48:11 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- splitted from ./en/functions/image.xml, last change in rev 1.2 --> <refentry id="function.imageloadfont"> <refnamediv> @@ -75,7 +75,7 @@ <programlisting role="php"> <![CDATA[ <?php -$im = imagecreate(50, 20); +$im = imagecreatetruecolor(50, 20); $black = imagecolorallocate($im, 0, 0, 0); $white = imagecolorallocate($im, 255, 255, 255); imagefilledrectangle($im, 0, 0, 49, 19, $white); http://cvs.php.net/diff.php/phpdoc/en/reference/image/functions/imagepolygon.xml?r1=1.9&r2=1.10&ty=u Index: phpdoc/en/reference/image/functions/imagepolygon.xml diff -u phpdoc/en/reference/image/functions/imagepolygon.xml:1.9 phpdoc/en/reference/image/functions/imagepolygon.xml:1.10 --- phpdoc/en/reference/image/functions/imagepolygon.xml:1.9 Thu Jun 23 12:53:23 2005 +++ phpdoc/en/reference/image/functions/imagepolygon.xml Wed Aug 10 00:48:11 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> +<!-- $Revision: 1.10 $ --> <!-- splitted from ./en/functions/image.xml, last change in rev 1.2 --> <refentry id="function.imagepolygon"> <refnamediv> @@ -29,7 +29,7 @@ <![CDATA[ <?php // create a blank image -$image = imagecreate(400, 300); +$image = imagecreatetruecolor(400, 300); // fill the background color $bg = imagecolorallocate($image, 0, 0, 0); http://cvs.php.net/diff.php/phpdoc/en/reference/image/functions/imagepsloadfont.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc/en/reference/image/functions/imagepsloadfont.xml diff -u phpdoc/en/reference/image/functions/imagepsloadfont.xml:1.6 phpdoc/en/reference/image/functions/imagepsloadfont.xml:1.7 --- phpdoc/en/reference/image/functions/imagepsloadfont.xml:1.6 Tue Jun 21 19:26:37 2005 +++ phpdoc/en/reference/image/functions/imagepsloadfont.xml Wed Aug 10 00:48:11 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- splitted from ./en/functions/image.xml, last change in rev 1.7 --> <refentry id="function.imagepsloadfont"> <refnamediv> @@ -25,7 +25,7 @@ <![CDATA[ <?php header("Content-type: image/jpeg"); -$im = imagecreate(350, 45); +$im = imagecreatetruecolor(350, 45); $black = imagecolorallocate($im, 0, 0, 0); $white = imagecolorallocate($im, 255, 255, 255); $font = imagepsloadfont("bchbi.pfb"); // or locate your .pfb files on your machine http://cvs.php.net/diff.php/phpdoc/en/reference/image/functions/imagesetpixel.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/image/functions/imagesetpixel.xml diff -u phpdoc/en/reference/image/functions/imagesetpixel.xml:1.5 phpdoc/en/reference/image/functions/imagesetpixel.xml:1.6 --- phpdoc/en/reference/image/functions/imagesetpixel.xml:1.5 Thu Jun 23 12:53:23 2005 +++ phpdoc/en/reference/image/functions/imagesetpixel.xml Wed Aug 10 00:48:11 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- splitted from ./en/functions/image.xml, last change in rev 1.2 --> <refentry id="function.imagesetpixel"> <refnamediv> @@ -22,7 +22,7 @@ <parameter>color</parameter>. </para> <para> - See also <function>imagecreate</function> and + See also <function>imagecreatetruecolor</function> and <function>imagecolorallocate</function>. </para> </refsect1> http://cvs.php.net/diff.php/phpdoc/en/reference/image/functions/imagesetstyle.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc/en/reference/image/functions/imagesetstyle.xml diff -u phpdoc/en/reference/image/functions/imagesetstyle.xml:1.7 phpdoc/en/reference/image/functions/imagesetstyle.xml:1.8 --- phpdoc/en/reference/image/functions/imagesetstyle.xml:1.7 Mon Dec 15 11:51:11 2003 +++ phpdoc/en/reference/image/functions/imagesetstyle.xml Wed Aug 10 00:48:11 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <!-- splitted from ./en/functions/image.xml, last change in rev 1.43 --> <refentry id="function.imagesetstyle"> <refnamediv> @@ -30,7 +30,7 @@ <![CDATA[ <?php header("Content-type: image/jpeg"); -$im = imagecreate(100, 100); +$im = imagecreatetruecolor(100, 100); $w = imagecolorallocate($im, 255, 255, 255); $red = imagecolorallocate($im, 255, 0, 0); http://cvs.php.net/diff.php/phpdoc/en/reference/image/functions/imagestring.xml?r1=1.8&r2=1.9&ty=u Index: phpdoc/en/reference/image/functions/imagestring.xml diff -u phpdoc/en/reference/image/functions/imagestring.xml:1.8 phpdoc/en/reference/image/functions/imagestring.xml:1.9 --- phpdoc/en/reference/image/functions/imagestring.xml:1.8 Thu Jun 23 12:53:23 2005 +++ phpdoc/en/reference/image/functions/imagestring.xml Wed Aug 10 00:48:11 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> +<!-- $Revision: 1.9 $ --> <!-- splitted from ./en/functions/image.xml, last change in rev 1.2 --> <refentry id="function.imagestring"> <refnamediv> @@ -32,7 +32,7 @@ <![CDATA[ <?php // create a 100*30 image -$im = imagecreate(100, 30); +$im = imagecreatetruecolor(100, 30); // white background and blue text $bg = imagecolorallocate($im, 255, 255, 255); http://cvs.php.net/diff.php/phpdoc/en/reference/image/functions/imagesx.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc/en/reference/image/functions/imagesx.xml diff -u phpdoc/en/reference/image/functions/imagesx.xml:1.4 phpdoc/en/reference/image/functions/imagesx.xml:1.5 --- phpdoc/en/reference/image/functions/imagesx.xml:1.4 Thu May 29 16:22:12 2003 +++ phpdoc/en/reference/image/functions/imagesx.xml Wed Aug 10 00:48:11 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./en/functions/image.xml, last change in rev 1.2 --> <refentry id="function.imagesx"> <refnamediv> @@ -23,7 +23,7 @@ <?php // create a 300*200 image -$img = imagecreate(300, 200); +$img = imagecreatetruecolor(300, 200); echo imagesx($img); // 300 @@ -32,7 +32,7 @@ </programlisting> </example> <para> - See also <function>imagecreate</function>, + See also <function>imagecreatetruecolor</function>, <function>getimagesize</function> and <function>imagesy</function>. </para> http://cvs.php.net/diff.php/phpdoc/en/reference/image/functions/imagesy.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc/en/reference/image/functions/imagesy.xml diff -u phpdoc/en/reference/image/functions/imagesy.xml:1.4 phpdoc/en/reference/image/functions/imagesy.xml:1.5 --- phpdoc/en/reference/image/functions/imagesy.xml:1.4 Thu May 29 16:22:13 2003 +++ phpdoc/en/reference/image/functions/imagesy.xml Wed Aug 10 00:48:11 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./en/functions/image.xml, last change in rev 1.2 --> <refentry id="function.imagesy"> <refnamediv> @@ -23,7 +23,7 @@ <?php // create a 300*200 image -$img = imagecreate(300, 200); +$img = imagecreatetruecolor(300, 200); echo imagesy($img); // 200 @@ -32,7 +32,7 @@ </programlisting> </example> <para> - See also <function>imagecreate</function>, + See also <function>imagecreatetruecolor</function>, <function>getimagesize</function> and <function>imagesx</function>. </para> http://cvs.php.net/diff.php/phpdoc/en/reference/image/functions/imagettftext.xml?r1=1.16&r2=1.17&ty=u Index: phpdoc/en/reference/image/functions/imagettftext.xml diff -u phpdoc/en/reference/image/functions/imagettftext.xml:1.16 phpdoc/en/reference/image/functions/imagettftext.xml:1.17 --- phpdoc/en/reference/image/functions/imagettftext.xml:1.16 Wed Dec 29 06:20:24 2004 +++ phpdoc/en/reference/image/functions/imagettftext.xml Wed Aug 10 00:48:11 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- $Revision: 1.16 $ --> +<!-- $Revision: 1.17 $ --> <!-- splitted from ./en/functions/image.xml, last change in rev 1.2 --> <refentry id="function.imagettftext"> <refnamediv> @@ -25,7 +25,7 @@ <term><parameter>image</parameter></term> <listitem> <simpara> - The image resource. See <function>imagecreate</function>. + The image resource. See <function>imagecreatetruecolor</function>. </simpara> </listitem> </varlistentry> @@ -159,7 +159,7 @@ header("Content-type: image/png"); // Create the image -$im = imagecreate(400, 30); +$im = imagecreatetruecolor(400, 30); // Create some colors $white = imagecolorallocate($im, 255, 255, 255); http://cvs.php.net/diff.php/phpdoc/en/reference/image/functions/imagewbmp.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc/en/reference/image/functions/imagewbmp.xml diff -u phpdoc/en/reference/image/functions/imagewbmp.xml:1.4 phpdoc/en/reference/image/functions/imagewbmp.xml:1.5 --- phpdoc/en/reference/image/functions/imagewbmp.xml:1.4 Mon Jun 21 07:45:37 2004 +++ phpdoc/en/reference/image/functions/imagewbmp.xml Wed Aug 10 00:48:11 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./en/functions/image.xml, last change in rev 1.2 --> <refentry id="function.imagewbmp"> <refnamediv> @@ -18,7 +18,7 @@ <function>imagewbmp</function> creates the <acronym>WBMP</acronym> file in filename from the image <parameter>image</parameter>. The <parameter>image</parameter> argument - is the return from the <function>imagecreate</function> function. + is the return from the <function>imagecreatetruecolor</function> function. </para> <para> The filename argument is optional, and if left off, the raw image
« previous php.doc (#969369534) next »