Summary | Enhancement for allocateColor() to support rgb() and hex values |
Queue | Horde Framework Packages |
Type | Enhancement |
State | Rejected |
Priority | 1. Low |
Owners | |
Requester | thomas (at) gelf (dot) net |
Created | 04/07/2005 (7427 days ago) |
Due | |
Updated | 10/23/2005 (7228 days ago) |
Assigned | |
Resolved | 10/23/2005 (7228 days ago) |
Milestone | |
Patch | No |
State ⇒ Rejected
State ⇒ Feedback
It may not seem like much but it's much easier to work with. Second,
looking at this code, it'd be a lot easier and cleaner, and portable
across drivers, to modify getRGB() to handle the various kinds of
colors, not allocateColor(). In any case a patch that doesn't work
across all backends will most likely not be committed.
State ⇒ New
Priority ⇒ 1. Low
Type ⇒ Enhancement
Summary ⇒ Enhancement for allocateColor() to support rgb() and hex values
Queue ⇒ Horde Framework Packages
New Attachment: allocateColor.php
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