Syntactic Confectionery Delight | |
PerlMonks |
Re: Color Space Converterby jeffa (Bishop) |
on Jun 13, 2005 at 19:30 UTC ( [id://466263]=note: print w/replies, xml ) | Need Help?? |
Nice, but did you know about Color::Spectrum? extremely wrote the code, i just gave it a home. :) If you look in the source, you will see there are methods for RGB-HSL(I) converstions that do the job with far fewer lines of code. I should update the POD to document those as well ... anyways, check it out. Might give some ideas for refactoring. jeffa L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)
In Section
Code Catacombs
|
|