For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > January 2006 > cvs: phpdoc /en/reference/image/functions imagechar.xml imagecharup.xml imagestring.x









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author cvs: phpdoc /en/reference/image/functions imagechar.xml imagecharup.xml imagestring.x
Jakub Vrana

2006-01-30, 6:57 pm

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/phpd...0&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/phpd...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/phpd...0&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);
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com