J2KCOMPRESSIONCONTROL

typedef enum tagJ2KCOMPRESSIONCONTROL
{   J2K_COMPRESSION_LOSSLESS //Lossless compression.
     J2K_COMPRESSION_RATIO // Use the fCompressionRatio value for compression
     J2K_COMPRESSION_TARGETSIZE // Use the uTargetFileSize value for compression
     J2K_COMPRESSION_QFACTOR // Use the qFactor value for compression
} J2KCOMPRESSIONCONTROL, L_FAR *p J2KCOMPRESSIONCONTROL;

This data type is used within the FILEJ2KOPTIONS structure to control the compression of JPEG 2000 files.