Re: Color Class
| From: | Rasmus Lerdorf | Date: | Mon, 26 Nov 2001 12:55:09 +0000 |
| Subject: | Re: Color Class | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-3103@lists.php.net to get a copy of this message | ||
> It will probably more flexible to not store all differents colors
> value in the same array. There are many colors standart (Rasmus told
> us about cmyk and spots b.e.) and maybe pantone and others stuffs like
> that. The array will grow too much. One array per colortype
> PEAR_Colors_RGB PEAR_Colors_CMYK,... ? We don't need to include all
> colors and maybe more modular.
Or store it in one format and figure out the appropriate conversion
algorithms to the various other formats. Some cannot be automatically
converted, but for the ones that can there is no reason to duplicate the
data.
-Rasmus