[libGD] #169 [Task opened] Looking up color names for XPM

[email protected] Mon, 2 Jun 2008 10:51:26 +0200 (CEST)
Newsgroups php.gd.bugs
Message-ID <[email protected]>
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Takeshi Abe (Takeshi) 

Attached to Project - libGD
Summary - Looking up color names for XPM
Task Type - Feature Request
Category - Image Import/Export
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Low
Priority - Normal
Reported Version - 2.0.36RC1
Due in Version - Undecided
Due Date - Undecided
Details - While XPMs can specify a color with color names like 'AliceBlue',
libxpm seems to provide only functions that tell the color values of
the names through X Server.
So we have a chance of faster one to lookup names via the fixed color map.

The attached codes attempt to provide
  * a function, say gdColorMapLookup(), which takes both a color map and name with output RGB, and
  * a constant GD_COLOR_MAP_X11, which is generated from [[http://cvsweb.xfree86.org/cvsweb/*checkout*/xc/programs/rgb/rgb.txt?rev=1.1]] by a script.

Any suggestion would be appreciated.

More information can be found at the following URL:
http://bugs.libgd.org/?do=details&task_id=169

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.