note 90479 deleted from function.imagecolorallocate by thiago
| From: | thiago@php.net | Date: | Fri, 24 Apr 2009 12:30:32 +0000 |
| Subject: | note 90479 deleted from function.imagecolorallocate by thiago | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-153660@lists.php.net to get a copy of this message | ||
Note Submitter: hc at hob(removethis)soft dot net
----
In the the hsv2rgb function from tyberis below, replace
return(array($q[($i+4)%5],$q[($i+2)%5],$q[$i%5]));
with
return(array($q[($i+4)%6],$q[($i+2)%6],$q[$i%6]));
then it seems to work :-)
HC