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