++ed by:
ALEXBYK ANTIPASTA AWNCORP EGOR EMAZEP

25 PAUSE user(s)
13 non-PAUSE user(s).

Tony Cook
i_img_has_alpha(im)

Return true if the image has an alpha channel.

i_img_color_channels(im)

The number of channels holding color information.

i_psamp(im, left, right, y, samples, channels, channel_count) =category Drawing

Writes sample values from samples to im for the horizontal line (left, y) to (right-1, y) inclusive for the channels specified by channels, an array of int with channel_count elements.

If channels is NULL then the first channels_count channels are written to for each pixel.

Returns the number of samples written, which should be (right - left) * channel_count. If a channel not in the image is in channels, left is negative, left is outside the image or y is outside the image, returns -1 and pushes an error.

i_psampf(im, left, right, y, samples, channels, channel_count) =category Drawing

Writes floating point sample values from samples to im for the horizontal line (left, y) to (right-1, y) inclusive for the channels specified by channels, an array of int with channel_count elements.

If channels is NULL then the first channels_count channels are written to for each pixel.

Returns the number of samples written, which should be (right - left) * channel_count. If a channel not in the image is in channels, left is negative, left is outside the image or y is outside the image, returns -1 and pushes an error.

3 POD Errors

The following errors were encountered while parsing the POD:

Around line 10:

'=item' outside of any '=over'

=over without closing =back

Around line 12:

Unknown directive: =category

Around line 24:

Unknown directive: =category




Hosting generously
sponsored by Bytemark