code: def decode(dinfo, cio):
      
      argtypes = [ctypes.POINTER(DecompressionInfoType), ctypes.POINTER(CioType)]
      OPENJPEG.opj_decode.argtypes = argtypes
      OPENJPEG.opj_decode.restype = ctypes.POINTER(ImageType)
      image = OPENJPEG.opj_decode(dinfo, cio)
      return image
docs: Wrapper for opj_decode.