J2KCOMPRESSIONCONTROL

typedef enum _J2KCOMPRESSIONCONTROL
{
  J2K_COMPRESSION_LOSSLESS   = 0,  // lossless compression
  J2K_COMPRESSION_RATIO      = 1,  // use fCompressionRatio
  J2K_COMPRESSION_TARGETSIZE = 2,  // use uTargetFileSize
  J2K_COMPRESSION_QFACTOR    = 3,  // use qFactor
}
J2KCOMPRESSIONCONTROL, *pJ2KCOMPRESSIONCONTROL;

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