code: def create_decompress(codec_format):
      
      OPENJP2.opj_create_decompress.argtypes = [CODEC_FORMAT_TYPE]
      OPENJP2.opj_create_decompress.restype = CODEC_TYPE
  
      codec = OPENJP2.opj_create_decompress(codec_format)
      return codec
docs: Creates a J2K/JP2 decompress structure.
  
      Wraps the openjp2 library function opj_create_decompress.
  
      Parameters
      ----------
      codec_format : int
          Specifies codec to select.  Should be one of CODEC_J2K or CODEC_JP2.
  
      Returns
      -------
      codec : Reference to CODEC_TYPE instance.