cvs: phpdoc /en/reference/image/functions imagefilter.xml

From: Date: Mon, 08 Sep 2008 12:02:19 +0000
Subject: cvs: phpdoc /en/reference/image/functions imagefilter.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-2142@lists.php.net to get a copy of this message
kalle Mon Sep 8 12:02:19 2008 UTC Modified files: /phpdoc/en/reference/image/functions imagefilter.xml Log: Fix example http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/image/functions/imagefilter.xml?r1=1.12&r2=1.13&diff_format=u Index: phpdoc/en/reference/image/functions/imagefilter.xml diff -u phpdoc/en/reference/image/functions/imagefilter.xml:1.12 phpdoc/en/reference/image/functions/imagefilter.xml:1.13 --- phpdoc/en/reference/image/functions/imagefilter.xml:1.12 Thu Aug 28 19:03:15 2008 +++ phpdoc/en/reference/image/functions/imagefilter.xml Mon Sep 8 12:02:19 2008 @@ -1,5 +1,5 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.12 $ --> +<!-- $Revision: 1.13 $ --> <refentry xml:id="function.imagefilter" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>imagefilter</refname> @@ -303,7 +303,7 @@ { $index = imagecolorat($im, $x, $y); $rgb = imagecolorsforindex($index); - $color = imagecolorallocate($im, (255 - $rgb['red'], (255 - $rgb['green'], (255 - $rgb['blue']); + $color = imagecolorallocate($im, 255 - $rgb['red'], 255 - $rgb['green'], 255 - $rgb['blue']); imagesetpixel($im, $x, $y, $color); }

« previous php.doc.cvs (#2142) next »