Scroll to navigation

LQR_CARVER_SET_IMAGE_TYPE LqR library API reference LQR_CARVER_SET_IMAGE_TYPE

NAME

lqr_carver_set_image_type - sets the image type of an LqrCarver object

SYNOPSIS

#include <lqr.h>
LqrRetVal lqr_carver_set_image_type(LqrCarver* carver, LqrImageType image_type);

DESCRIPTION

The function lqr_carver_set_image_type sets the image type of the LqrCarver pointed to by carver to image_type.
If image_type is equal to LQR_CUSTOM_IMAGE, it is assumed that there are no alpha or black channels. You can set those independently using lqr_carver_set_alpha_channel(3) and lqr_carver_set_black_channel(3).

RETURN VALUE

The return value follows the Liquid Rescale library signalling system.

SEE ALSO

 
LqrImageType(3), lqr_carver_new(3), lqr_carver_set_alpha_channel(3), lqr_carver_set_black_channel(3), lqr_carver_get_image_type(3)

COPYRIGHT

Copyright © 2007-2009 Carlo Baldassi
 
10 Maj 2009 LqR library 0.4.1 API (3:1:3)