The GFL_SAVE_PARAMS structure contains options for the save of picture.
typedef struct ( GFL_UINT32 Flags, GFL_INT32 FormatIndex, GFL_COMPRESSION Compression, GFL_INT16 Quality, GFL_INT16 CompressionLevel, GFL_BOOL Interlaced, GFL_BOOL Progressive, GFL_BOOL OptimizeHuffmanTable, GFL_BOOL InAscii, GFL_UINT32 Offset, GFL_CORDER ChannelOrder, GFL_CTYPE ChannelType, GFL_WRITE_CALLBACK Write, GFL_TELL_CALLBACK Tell, GFL_SEEK_CALLBACK Seek } GFL_SAVE_PARAMS
Members
GFL_SAVE_REPLACE_EXTENSION | Replace extension by the default format extension |
GFL_SAVE_ANYWAY | Convert picture if colormode can be saved in this format (For example, RGB picture must be converted in 256 colors to save it in GIF) |
GFL_NO_COMPRESSION | No compression |
GFL_RLE | Packbits |
GFL_LZW | LZW (tiff only) |
GFL_CCITT_FAX3 | Fax Group 3 (tiff only) |
GFL_CCITT_FAX3_2D | Fax Group 3-2D (tiff only) |
GFL_CCITT_FAX4 | Fax Group 4 (tiff only) |
GFL_CORDER_INTERLEAVED | Interleaved |
GFL_CORDER_SEQUENTIAL | Sequential |
GFL_CORDER_SEPARATE | Separate |
GFL_CTYPE_GREYSCALE | Greyscale |
GFL_CTYPE_RGB | Red-Green-Blue |
GFL_CTYPE_BGR | Bleu-Green-Red |
GFL_CTYPE_RGBA | Red-Green-Bleu-Alpha |
GFL_CTYPE_ABGR | Alpha-Bleu-Green-Red |
GFL_CTYPE_CMY | Cyan-Magenta-Yellow |
GFL_CTYPE_CMYK | Cyan-Magenta-Yellow-Black |
See also