xil_get_datatype(3)
NAME
xil_get_datatype − get an image’s data type
SYNOPSIS
#include <xil/xil.h>
XilDataType xil_get_datatype (XilImage image);
DESCRIPTION
This function gets the data type of an image. The possible types returned are XIL_BIT, XIL_BYTE, XIL_SHORT and XIL_FLOAT. This function may be called on all images.
ERRORS
For a complete list of XIL error messages by number, consult Appendix B of the XIL Programmer’s Guide.
EXAMPLES
Get the datatype of an image:
XilImage image;
XilDataType datatype;
datatype = xil_get_datatype (image);
SEE ALSO
xil_get_imagetype(3), xil_get_info(3), xil_get_width(3), xil_get_height(3), xil_get_nbands(3), xil_get_size(3).
SunOS 5.6 — Last change: 17 August 1993