- 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
samplestoimfor the horizontal line (left, y) to (right-1, y) inclusive for the channels specified bychannels, an array ofintwithchannel_countelements.If
channelsisNULLthen the firstchannels_countchannels 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
samplestoimfor the horizontal line (left, y) to (right-1, y) inclusive for the channels specified bychannels, an array ofintwithchannel_countelements.If
channelsisNULLthen the firstchannels_countchannels 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 14:
'=item' outside of any '=over'
=over without closing =back
- Around line 16:
Unknown directive: =category