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