Returns the format compressions. \n
* Compressions are 20 chars max each, maximum of 50 compressions. You can use "char* comp[50]". \n
* color_mode and data_type are optional, use -1 to ignore them. \n
* If you use them they will select only the allowed compressions checked like in \ref imFormatCanWriteImage. \n
* Returns an error code.
* See also \ref format, \ref imErrorCodes, \ref imDataType, \ref imColorSpace and \ref imColorModeConfig.
*
* \verbatim im.FormatCompressions(format: string, [color_mode: number], [data_type: number]) -> error: number, comp: table of strings [in Lua 5] \endverbatim
* \ingroup format
Returns the format compressions. \n * Compressions are 20 chars max each, maximum of 50 compressions. You can use "char* comp[50]". \n * color_mode and data_type are optional, use -1 to ignore them. \n * If you use them they will select only the allowed compressions checked like in \ref imFormatCanWriteImage. \n * Returns an error code. * See also \ref format, \ref imErrorCodes, \ref imDataType, \ref imColorSpace and \ref imColorModeConfig. * * \verbatim im.FormatCompressions(format: string, [color_mode: number], [data_type: number]) -> error: number, comp: table of strings [in Lua 5] \endverbatim * \ingroup format