DATASERV (kappserv) functions


LIBRARY ROUTINE

lkcolorconvert - The routine lkcolorconvert() is used to perform a colorspace conversion on an input object. Currently, this routine is invoked when the KCOLOR_ COLORSPACE attribute is called, however, is setup so that it can be called if needed. Currently, this routine enforces data ranges which correspond to the converted colormodel. This means that the output image may not be in the correct range for viewing.

LIBRARY CALL

int lkcolorconvert(
   kobject src_obj,
   int src_color_model,
   int dest_color_model)

INPUT

OUTPUT

none

RETURN VALUE

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

DESCRIPTION

This library routine controls which colorspace transformation functions would be called. It accepts input parameters from the kcltrans kroutine.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

Restrictions on data or input as applicable.

MODIFICATION

none

FILES

$DATASERV/objects/library/kappserv/src/colorspace.c

SEE ALSO

kappserv(3)

COPYRIGHT

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