color.c - color manipulation functions
i_fcolor color; i_rgb_to_hsvf(&color); i_hsv_to_rgbf(&color);
A collection of utility functions for converting between color spaces.
Converts the first 3 channels of color into hue, saturation and value.
Each value is scaled into the range 0 to 1.0.
Each value is scaled into the range 0 to 255.
Convert a HSV value to an RGB value, each value ranges from 0 to 1.
Tony Cook <tony@develop-help.com>
Imager
To install Imager, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Imager
CPAN shell
perl -MCPAN -e shell install Imager
For more information on module installation, please visit the detailed CPAN module installation guide.