SE_rasterattr_get_compression_type

Retrieves the compression type

Usage syntax

LONG SE_rasterattr_get_compression_type (SE_RASTERATTR handle, SE_COMPRESSION_TYPE *type);

Parameters
handle The raster attribute handle
type A pointer to an SE_COMPRESSION_TYPE object
Description

SE_rasterattr_get_compression_type returns the compression type of the specified raster attribute.

The compression type returned is either:

SE_COMPRESSION_NONE—The image will not be compressed.
SE_COMPRESSION_LZ77—The image will be compressed using the LZ77 compression algorithm.
SE_COMPRESSION_JPEG—The image will be compressed using the JPEG compression algorithm.
SE_COMPRESSION_JP2—The image will be compresses using the JPEG 2000 compression algorithm.

Returns

SE_SUCCESS
SE_INVALID_POINTER

SE_INVALID_COMPRESSION_TYPE

SE_OPERATION_NOT_ALLOWED