code: def create_decompress(fmt):
      
      OPENJPEG.opj_create_decompress.argtypes = [ctypes.c_int]
      restype = ctypes.POINTER(DecompressionInfoType)
      OPENJPEG.opj_create_decompress.restype = restype
      dinfo = OPENJPEG.opj_create_decompress(fmt)
      return dinfo
docs: Wraps openjpeg library function opj_create_decompress.