Imager::Color::Float - Rough floating point sample colour handling
$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(); # not implemented but proposed
$color->info();
This module handles creating color objects used by imager. The idea is that in the future this module will be able to handle colorspace calculations as well.
Arnar M. Hrafnkelsson, addi@umich.edu And a great deal of help from others - see the README for a complete list.
Imager(3) http://www.eecs.umich.edu/~addi/perl/Imager/