map.c - inplace image mapping and related functionality
i_map(srcimage, coeffs, outchans, inchans)
Converts images from one format to another, typically in this case for converting from RGBA to greyscale and back.
maps im inplace into another image.
Each map is a unsigned char array of 256 entries, its corresponding channel mask is the same numbered entry in the chmasks array. If two maps apply to the same channel then the second one is used. If no map applies to a channel then that channel is not altered. mapcount is the number of maps.
Imager(3)
Arnar M. Hrafnkelsson <addi@umich.edu>
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.