def create_compress(fmt):
OPENJPEG.opj_create_compress.argtypes = [ctypes.c_int]<EOL>OPENJPEG.opj_create_compress.restype = ctypes.POINTER(CompressionInfoType)<EOL>cinfo = OPENJPEG.opj_create_compress(fmt)<EOL>return cinfo<EOL>
Wrapper for openjpeg library function opj_create_compress.

    Creates a J2K/JPT/JP2 compression structure.