Poster of Linux kernelThe best gift for a Linux geek
FBLQR_CARVER_SET_ALPHA_CHANNE

FBLQR_CARVER_SET_ALPHA_CHANNE

Section: LqR library API reference (3) Updated: 10 Maj 2009
Local index Up
 

NAME

lqr_carver_set_alpha_channel - sets the alpha channel index in a LqrCarver object  

SYNOPSIS

#include <lqr.h>
LqrRetVal lqr_carver_set_alpha_channel(LqrCarver * carver, gint channel_index);
 

DESCRIPTION

The function lqr_carver_set_alpha_channel sets the alpha channel index of the image stored in the LqrCarver pointed to by carver to channel_index (between 0 and channels - 1, where channels is the number of colour channels of the carver).

Use a negative value for cahnnel_index to specify that no alpha channel is present.

If the specified channel coincides with the current value of the black channel, the black channel is unset.

Calling this function sets the image time of the carver to LQR_CUSTOM_IMAGE.  

RETURN VALUE

The return value follows the Liquid Rescale library signalling system.  

SEE ALSO

LqrImageType(3), lqr_carver_new(3), lqr_carver_set_image_type(3), lqr_carver_set_black_channel(3), lqr_carver_get_image_type(3), lqr_carver_get_channels(3)  

COPYRIGHT

Copyright © 2007-2009 Carlo Baldassi


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
SEE ALSO
COPYRIGHT

This document was created by man2html, using the manual pages.
Time: 21:49:44 GMT, April 16, 2011