For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > October 2006 > cvs: phpdoc /en/reference/image/functions imagecolorallocate.xml









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 imagecolorallocate.xml
Etienne Kneuss

2006-10-16, 6:57 pm

colder Mon Oct 16 19:25:44 2006 UTC

Modified files:
/phpdoc/en/reference/image/functions imagecolorallocate.xml
Log:
Fix #39169 (incorrect parameters for imagecreate)

http://cvs.php.net/viewvc.cgi/phpdo...1&diff_format=u
Index: phpdoc/en/reference/image/functions/imagecolorallocate.xml
diff -u phpdoc/en/reference/image/functions/imagecolorallocate.xml:1.10 phpdoc/en/reference/image/functions/imagecolorallocate.xml:1.11
--- phpdoc/en/reference/image/functions/imagecolorallocate.xml:1.10 Mon Jan 2 09:37:26 2006
+++ phpdoc/en/reference/image/functions/imagecolorallocate.xml Mon Oct 16 19:25:44 2006
@@ -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.imagecolorallocate">
<refnamediv>
@@ -41,7 +41,7 @@
<![CDATA[
<?php

-$im = imagecreate('example.jpg', 100, 100);
+$im = imagecreate(100, 100);

// sets background to red
$background = imagecolorallocate($im, 255, 0, 0);
Sponsored Links







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

Copyright 2008 codecomments.com