Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Color Space Converter

by jeffa (Bishop)
on Jun 13, 2005 at 19:30 UTC ( [id://466263]=note: print w/replies, xml ) Need Help??


in reply to Color Space Converter

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)

Replies are listed 'Best First'.
466438
by js29a (Chaplain) on Jun 14, 2005 at 09:09 UTC

    Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Domain Nodelet?
    Node Status?
    node history
    Node Type: note [id://466263]
    help
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this?Last hourOther CB clients
    Other Users?
    Others making s'mores by the fire in the courtyard of the Monastery: (4)
    As of 2024-12-07 14:42 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?
      Which IDE have you been most impressed by?













      Results (50 votes). Check out past polls.