typedef enum
{
LEADJP2_JP2 = FILE_JP2,
LEADJP2_JPX = FILE_JPX,
} eJP2FILEFORMAT;
The eJP2FILEFORMAT enumeration is used with the L_JP2_FILEINFO structure, and the L_Jp2Save, L_Jp2SaveList, L_Jp2SaveComposite, L_Jp2SaveMemory, L_Jp2SaveListMemory, and L_Jp2SaveCompositeMemory functions to specify the JPEG 2000 file format.