SE_rasterattr_get_pixel_type

Retrieves the pixel type

Usage syntax

LONG SE_rasterattr_get_pixel_type (SE_RASTERATTR handle, LONG *pixel_type);

Parameters
handle The SE_RASTERATTR handle
pixel_type The pixel type
Description

SE_rasterattr_get_pixel_type returns the pixel type. Possible pixel types are as follows:

   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_RASTERATTR_OBJECT

SE_NET_FAILURE

SE_SDE_NOT_STARTED