SE_rasbandinfo_get_pixel_type

Retrieves the pixel type for the raster band

Usage syntax

LONG SE_rasbandinfo_get_pixel_type (const SE_RASBANDINFO rasterband, LONG *pixel_type);

Parameters
rasterband The rasterband handle
pixel_type A pointer to the pixel type
Description

SE_rasbandinfo_get_pixel_type retrieves the pixel type of the raster band. The pixel type values are:

SE_PIXEL_TYPE_1BIT 
SE_PIXEL_TYPE_4BIT
SE_PIXEL_TYPE_8BIT_U
SE_PIXEL_TYPE_8BIT_S
SE_PIXEL_TYPE_16BIT_U
SE_PIXEL_TYPE_16BIT_S
SE_PIXEL_TYPE_32BIT_U
SE_PIXEL_TYPE_32BIT_S
SE_PIXEL_TYPE_32BIT_REAL
SE_PIXEL_TYPE_64BIT_REAL
 

This function returns meaningful information for an SE_RASBANDINFO object that describes an existing raster band only.

Returns

SE_SUCCESS
SE_INVALID_POINTER

SE_INVALID_RASBANDINFO_OBJECT

SE_NET_FAILURE

SE_SDE_NOT_STARTED