palkia has asked for the wisdom of the Perl Monks concerning the following question:
(from here)use Imager; $color = Imager::Color->new($red, $green, $blue); $color = Imager::Color->new($red, $green, $blue, $alpha); $color = Imager::Color->new("#C0C0FF"); # html color specification $color->set($red, $green, $blue); $color->set($red, $green, $blue, $alpha); $color->set("#C0C0FF"); # html color specification ($red, $green, $blue, $alpha) = $color->rgba(); @hsv = $color->hsv(); $color->info();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Can't locate object method "hsv" via package "Imager::Color"
by wrog (Friar) on Dec 27, 2011 at 00:47 UTC | |
by palkia (Monk) on Dec 27, 2011 at 02:07 UTC | |
by toolic (Bishop) on Dec 27, 2011 at 22:23 UTC | |
by palkia (Monk) on Dec 28, 2011 at 23:11 UTC | |
|
Re: Can't locate object method "hsv" via package "Imager::Color"
by Khen1950fx (Canon) on Dec 27, 2011 at 04:44 UTC |