SE_rasbandinfo_set_pixel_type

Sets the pixel type for the raster band.

Usage syntax

LONG SE_rasbandinfo_set_pixel_type (const SE_RASBANDINFO rasterband, LONG pixel_type);

Parameters
rasterband The rasterband handle
pixel_type The pixel type
Description

SE_rasbandinfo_set_pixel_type sets 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

Returns

SE_SUCCESS
SE_INVALID_POINTER

SE_INVALID_RASBANDINFO_OBJECT

SE_NET_FAILURE

SE_SDE_NOT_STARTED