xil_get_info(3)
NAME
xil_get_info − get information about the parameters of an image
SYNOPSIS
#include <xil/xil.h>
void xil_get_info (XilImage image,
unsigned int ∗width,
unsigned int ∗height,
unsigned int ∗nbands,
XilDataType ∗datatype);
DESCRIPTION
This function gets the following image parameters: width, height, nbands (number of bands), and datatype. This function may be called on all images. Use xil_get_imagetype(3) to get a handle to an object with the same characteristics as a given image; this handle can then be used in xil_create_from_type(3) calls.
ERRORS
For a complete list of XIL error messages by number, consult Appendix B of the XIL Programmer’s Guide.
EXAMPLES
Get all the parameters that describe a particular image:
XilImage image;
unsigned int width, height, nbands;
XilDataType datatype;
xil_get_info (image, &width, &height, &nbands, &datatype);
SEE ALSO
xil_get_datatype(3), xil_get_imagetype(3), xil_get_width(3), xil_get_height(3), xil_get_nbands(3), xil_get_size(3), xil_create_from_type(3), xil_create_temporary_from_type(3).
SunOS 5.6 — Last change: 17 August 1993