IMAGE (kimage_proc) functions


LIBRARY ROUTINE

licreate_alpha - Creates an alpha channel

LIBRARY CALL

int 
licreate_alpha(kobject src_obj, kobject matte_obj, kobject dst_obj,
               double real)

INPUT

OUTPUT

RETURN VALUE

TRUE (1) on success, FALSE (0) otherwise

DESCRIPTION

This function creates an alpha channel for an image using either a one channel source or a constant.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

If the input image is mapped and the alpha channel is specified by a file, the output image is not mapped.

RESTRICTIONS

If a constant alpha is supplied it should be between 0 and 1 and will be scaled to match the input image.

MODIFICATION

none

FILES

$IMAGE/objects/library/kimage_proc/src/licreate_alpha.c

SEE ALSO

kimage_proc(3)

COPYRIGHT

Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.