def setup_encoder(cinfo, cparameters, image):
argtypes = [ctypes.POINTER(CompressionInfoType),<EOL>ctypes.POINTER(CompressionParametersType),<EOL>ctypes.POINTER(ImageType)]<EOL>OPENJPEG.opj_setup_encoder.argtypes = argtypes<EOL>OPENJPEG.opj_setup_encoder(cinfo, cparameters, image)<EOL>
Wrapper for openjpeg library function opj_setup_decoder.