[Tickets #1716] NEW: Enhancement for allocateColor() to support rgb() and hex values

bugs at bugs.horde.org bugs at bugs.horde.org
Thu Apr 7 14:05:09 PDT 2005


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=1716
-----------------------------------------------------------------------
 Ticket             | 1716
 Created By         | thomas at gelf.net
 Summary            | Enhancement for allocateColor() to support rgb() and hex values
 Queue              | Horde Framework Packages
 State              | New
 Priority           | 1. Low
 Type               | Enhancement
 Owners             | 
+New Attachment     | allocateColor.php
-----------------------------------------------------------------------


thomas at gelf.net (2005-04-07 14:05) wrote:

allocateColor() accepts only color names - I would like to write
Horde_Graph_Pie3d (and maybe others) and need support for Hex values also.

Attached is the whole function allocateColor() for lib/Horde/Image/gd.php,
not a patch.

Same function will probably also work for lib/Horde/Image/swf.php

Yours sincerly,
Thomas Gelf





More information about the bugs mailing list