SE_rasterattr_get_compression_type |
Retrieves the compression type
LONG SE_rasterattr_get_compression_type (SE_RASTERATTR handle, SE_COMPRESSION_TYPE *type);
handle | The raster attribute handle |
type | A pointer to an SE_COMPRESSION_TYPE object |
SE_rasterattr_get_compression_type returns the compression type of the specified raster attribute.
The compression type returned is either:
SE_COMPRESSION_NONEThe image will not be compressed.
SE_COMPRESSION_LZ77The image will be compressed using the LZ77 compression
algorithm.
SE_COMPRESSION_JPEGThe image will be compressed using the JPEG compression
algorithm.
SE_COMPRESSION_JP2The image will be compresses using the JPEG 2000 compression
algorithm.
SE_SUCCESS
SE_INVALID_POINTER
SE_INVALID_COMPRESSION_TYPE
SE_OPERATION_NOT_ALLOWED