From ce8e75c335f79678ed89a2a28958a088d657c8fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nilg=C3=BCn=20Belma=20Bug=C3=BCner?= Date: Fri, 27 Mar 2009 12:23:52 +0000 Subject: [PATCH] fix example git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@277869 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/image/functions/imagecolorresolve.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/reference/image/functions/imagecolorresolve.xml b/reference/image/functions/imagecolorresolve.xml index 9c084146bd..6f17793148 100644 --- a/reference/image/functions/imagecolorresolve.xml +++ b/reference/image/functions/imagecolorresolve.xml @@ -1,5 +1,5 @@ - + imagecolorresolve @@ -74,8 +74,8 @@ $im = imagecreatefromgif('phplogo.gif'); // Get closest colors from the image $colors = array(); -$colors[] = imagecolorresolve($im, 255, 255, 255, 0); -$colors[] = imagecolorresolve($im, 0, 0, 200, 127); +$colors[] = imagecolorresolve($im, 255, 255, 255); +$colors[] = imagecolorresolve($im, 0, 0, 200); // Output print_r($colors);