IMAGE (kimage_proc) functions


LIBRARY ROUTINE

liopaque - Makes an image more opaque or less opaque

LIBRARY CALL

int 
liopaque(kobject src_obj, kobject dst_obj, double factor)

INPUT

OUTPUT

RETURN VALUE

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

DESCRIPTION

This library routine allows making images more opaque or less opaque. The color channels are divided by the scaling factor while the alpha channel is multiplied by the scaling factor. Scaling factors greater than 1.0 increase obscuration while factors less than 1.0 decrease obscuration. If KPDS_DATA_RANGE is not defined it will be defined.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

No clipping is performed on the output image.

RESTRICTIONS

Scaling factor must be greater than 0.

MODIFICATION

none

FILES

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

SEE ALSO

kimage_proc(3)

COPYRIGHT

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