NAME
imgdouble.c - implements double per sample images
SYNOPSIS
i_img *im = i_img_double_new(width, height, channels);
# use like a normal image
DESCRIPTION
Implements double/sample images.
This basic implementation is required so that we have some larger sample image type to work with.
- IIM_base_16bit_direct
-
Base structure used to initialize a 16-bit/sample image.
Internal.
- im_img_double_new(ctx, x, y, ch) =category Image creation/destruction =synopsis i_img *img = im_img_double_new(aIMCTX, width, height, channels); =synopsis i_img *img = i_img_double_new(width, height, channels);
-
Creates a new double per sample image.
Also callable as
i_img_double_new(width, height, channels). - i_psamp_ddoub(i_img *im, i_img_dim l, i_img_dim r, i_img_dim y, const i_sample_t *samps, int *chans, int chan_count)
-
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)
- i_psampf_ddoub(i_img *im, i_img_dim l, i_img_dim r, i_img_dim y, const i_fsample_t *samps, int *chans, int chan_count)
-
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)
- i_img_to_drgb(im)
-
Returns a double/sample version of the supplied image.
Returns the image on success, or NULL on failure.
AUTHOR
Tony Cook <tony@develop-help.com>
SEE ALSO
Imager(3)
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 621:
Unknown directive: =category