imFileWriteImageInfo

Writes the image header. Writes the file header at the first time it is called. * Writes also the extended image attributes. \n * Must call imFileSetPalette and set other attributes before calling this function. \n * In some formats the color space will be converted to match file format specification. \n * Returns an error code. This function must be called at least once, check each format documentation. * See also \ref imErrorCodes, \ref imDataType, \ref imColorSpace and \ref imColorModeConfig. * * \verbatim ifile:WriteImageInfo(width: number, height: number, user_color_mode: number, user_data_type: number) -> error: number [in Lua 5] \endverbatim * \ingroup file

version(IM)
extern (C) @nogc nothrow
int
imFileWriteImageInfo

Meta