vrana           Mon Jan 30 14:31:03 2006 UTC

  Modified files:              
    /phpdoc/en/reference/image/functions        imagechar.xml imagecharup.xml 
                                                imagestring.xml 
  Log:
  Do not use imagecreatetruecolor (bug #36199)
  
http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/image/functions/imagechar.xml?r1=1.9&r2=1.10&diff_format=u
Index: phpdoc/en/reference/image/functions/imagechar.xml
diff -u phpdoc/en/reference/image/functions/imagechar.xml:1.9 
phpdoc/en/reference/image/functions/imagechar.xml:1.10
--- phpdoc/en/reference/image/functions/imagechar.xml:1.9       Wed Aug 10 
04:48:11 2005
+++ phpdoc/en/reference/image/functions/imagechar.xml   Mon Jan 30 14:31:03 2006
@@ -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.36 -->
  <refentry id="function.imagechar">
   <refnamediv>
@@ -33,7 +33,7 @@
 <![CDATA[
 <?php
 
-$im = imagecreatetruecolor(100, 100);
+$im = imagecreate(100, 100);
 
 $string = 'PHP';
 
http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/image/functions/imagecharup.xml?r1=1.8&r2=1.9&diff_format=u
Index: phpdoc/en/reference/image/functions/imagecharup.xml
diff -u phpdoc/en/reference/image/functions/imagecharup.xml:1.8 
phpdoc/en/reference/image/functions/imagecharup.xml:1.9
--- phpdoc/en/reference/image/functions/imagecharup.xml:1.8     Wed Aug 10 
04:48:11 2005
+++ phpdoc/en/reference/image/functions/imagecharup.xml Mon Jan 30 14:31:03 2006
@@ -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.imagecharup">
   <refnamediv>
@@ -33,7 +33,7 @@
 <![CDATA[
 <?php
 
-$im = imagecreatetruecolor(100, 100);
+$im = imagecreate(100, 100);
 
 $string = 'Note that the first letter is a N';
 
http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/image/functions/imagestring.xml?r1=1.9&r2=1.10&diff_format=u
Index: phpdoc/en/reference/image/functions/imagestring.xml
diff -u phpdoc/en/reference/image/functions/imagestring.xml:1.9 
phpdoc/en/reference/image/functions/imagestring.xml:1.10
--- phpdoc/en/reference/image/functions/imagestring.xml:1.9     Wed Aug 10 
04:48:11 2005
+++ phpdoc/en/reference/image/functions/imagestring.xml Mon Jan 30 14:31:03 2006
@@ -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.imagestring">
    <refnamediv>
@@ -32,7 +32,7 @@
 <![CDATA[
 <?php
 // create a 100*30 image
-$im = imagecreatetruecolor(100, 30);
+$im = imagecreate(100, 30);
 
 // white background and blue text
 $bg = imagecolorallocate($im, 255, 255, 255);

Reply via email to