img16.c - implements 16-bit images
i_img *im = i_img_16_new(i_img_dim x, i_img_dim y, int channels); # use like a normal image
Implements 16-bit/sample images.
This basic implementation is required so that we have some larger sample image type to work with.
Base structure used to initialize a 16-bit/sample image.
Internal.
Create a new 16-bit/sample image.
Returns the image on success, or NULL on failure.
Also callable as i_img_16_new(x, y, ch)
i_img_16_new(x, y, ch)
Returns a 16-bit/sample version of the supplied image.
Writes sample values to im for the horizontal line (l, y) to (r-1,y) for the channels specified by chans, an array of int with chan_count elements.
Returns the number of samples written (which should be (r-l) * bits_set(chan_mask)
Tony Cook <tony@develop-help.com>
Imager(3)
1 POD Error
The following errors were encountered while parsing the POD:
Unknown directive: =category
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.