J2KCOMPRESSIONCONTROL

typedef enum tagJ2KCOMPRESSIONCONTROL
{
   J2K_COMPRESSION_LOSSLESS = 0, //Lossless compression.
   J2K_COMPRESSION_RATIO = 1,// Use the fCompressionRatio value for compression
   J2K_COMPRESSION_TARGETSIZE = 2, // Use the uTargetFileSize value for compression
   J2K_COMPRESSION_QFACTOR = 3,// Use the qFactor value for compression
} J2KCOMPRESSIONCONTROL, *pJ2KCOMPRESSIONCONTROL;

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