The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
i_img_has_alpha(im)

Return true if the image has an alpha channel.

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.

2 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