Re: Re: Image_Color named color

From: Date: Mon, 20 Sep 2004 08:56:28 +0000
Subject: Re: Re: Image_Color named color
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-33473@lists.php.net to get a copy of this message
On Monday 20 September 2004 12:28 am, Sebastian Bergmann wrote: > Jesper Veggerby wrote: > > Both seems to be used commonly, I think you can use both with an > > e and an a (perhaps US vs UK?), but I would think you should be > > consistent in your choice? > > I, too, would prefer consistent names but IIRC the original author of > the Image_Color package used an "official" list of web-safe colors for > both the color names and color values used in the namedColor2RGB() > method. > Perhaps some sort of color mapping decorator class could be used; the default, of course, being the current palette. This would allow for an X11 color[1] map, etc. Besides, the websafe palette is obsolete[2]. [1]: http://en.wikipedia.org/wiki/X11_Color_Names [2]: http://www.seankenney.com/publications/2000-01/index.php

Attachment: [application/pgp-signature]
« previous php.pear.dev (#33473) next »