Color Class RFC (Informal)

From: Date: Thu, 07 Mar 2002 15:28:58 +0000
Subject: Color Class RFC (Informal)
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-4929@lists.php.net to get a copy of this message
Okay, not so formal as I would like, but I am requesting comments for this class. http://www.newbienetwork.net/phpcodems_code.php?id=56 I would like to put it in a Package called "Color", and this class would be called Color_RGB, with other color classes following the same naming scheme I still have some documentation work to do with the class, I have another method to PHPDoc, as well as fix up a few things, but its basically ready for release. As far as the eventual Color_CMYK class, if we wanted to convert from CMYK to RGB, we would create a class called Color_RGB2CMYK that would handle the conversion, using both of the RGB and CMYK classes. This is where multiple inheritance would be nice, but it can be fudged into PHP. This is purely being done as a hobby by me, so if you are more experienced in dealing with Colors, Color manipulation, feel free to comment, assist, overthrow, help out, or otherwise instruct me on different methods or ideas. Frankly, this is a rather colorful class (bad pun intended) and I would like to see it included into PEAR. Jason Lotito Programmer & Developer Clockmedia Inc. Designing Tomorrow's Games, Today! 1-877-625-6256 514-908-2800 Fax: 514-908-2803

« previous php.pear.dev (#4929) next »