code: def create_compress(fmt):
      
      OPENJPEG.opj_create_compress.argtypes = [ctypes.c_int]
      OPENJPEG.opj_create_compress.restype = ctypes.POINTER(CompressionInfoType)
      cinfo = OPENJPEG.opj_create_compress(fmt)
      return cinfo
docs: Wrapper for openjpeg library function opj_create_compress.
  
      Creates a J2K/JPT/JP2 compression structure.