XieIsGrayScale(3X) — Subroutines
Digital
NAME
XieIsGrayScale − This routine determines whether or not the component mapping of a photo associated with a given identifier is gray scale.
C Format
flag = XieIsGrayScale(photo_id)
C Argument Information
unsigned char flag;
XiePhoto photo_id;
RETURN VALUES
The routine returns a value of True in the flag argument if the specified photo component mapping is XieK_GrayScale. Otherwise the returned value is False.
PARAMETERS
photo_idThe photo_id argument specifies the identifier of the photo you want to test. You can specify an unbound photomap, a photomap bound to a photoflo, a phototap, or a photoflo. If you specify a photoflo, the routine tests the photomap or phototap currently at the end of the photoflo.
DESCRIPTION
This routine determines whether or not the component mapping of a photo associated with a given identifier is gray scale. You can use the C Macro IsGrayScale_ instead of this routine.
XIE Events and Error Messages
Protocol Messages: None
XIE event returned: None
XieLib errors: None
XieServer errors: None