Tesseract.IFFType
@enum IFF begin
    IFF_UNKNOWN        = 0
    IFF_BMP            = 1
    IFF_JFIF_JPEG      = 2
    IFF_PNG            = 3
    IFF_TIFF           = 4
    IFF_TIFF_PACKBITS  = 5
    IFF_TIFF_RLE       = 6
    IFF_TIFF_G3        = 7
    IFF_TIFF_G4        = 8
    IFF_TIFF_LZW       = 9
    IFF_TIFF_ZIP       = 10
    IFF_PNM            = 11
    IFF_PS             = 12
    IFF_GIF            = 13
    IFF_JP2            = 14
    IFF_WEBP           = 15
    IFF_LPDF           = 16
    IFF_TIFF_JPEG      = 17
    IFF_DEFAULT        = 18
    IFF_SPIX           = 19
end

Various constants used by leptonica to specify image types.

Details:

ValueDescription
IFF_UNKNOWNUnknown image type.
IFF_BMPBMP image.
IFFJFIFJPEGJPEG image.
IFF_PNGPNG image.
IFF_TIFFTIFF image with no compression.
IFFTIFFPACKBITSTIFF image with pack bits compression.
IFFTIFFRLETIFF image with RLE compression.
IFFTIFFG3TIFF image with G3 compression.
IFFTIFFG4TIFF image with G4 compression.
IFFTIFFLZWTIFF image with LZW compression.
IFFTIFFZIPTIFF image with ZIP compression.
IFF_PNMPNM image.
IFF_PSPostScript file.
IFF_GIFGIF image.
IFF_JP2JP2K image.
IFF_WEBPWEBP image.
IFF_LPDFPDF file.
IFFTIFFJPEGTIFF image with JPEG compression.
IFF_DEFAULTDefault image type (used in saving).
IFF_SPIXSPIX image.
source