Click or drag to resize

ImageFileFormat Enumeration

Represents the image file format types

Namespace: Patagames.Ocr.Enums
Assembly: Patagames.Ocr (in Patagames.Ocr.dll) Version: 4.6.411
Syntax
public enum ImageFileFormat
Members
Member nameValueDescription
IFF_UNKNOWN0 Unknonw
IFF_BMP1 BMP image
IFF_JFIF_JPEG2 JPEG image
IFF_PNG3 PNG image
IFF_TIFF4 TIFF image
IFF_TIFF_PACKBITS5 TIFF image
IFF_TIFF_RLE6 TIFF image
IFF_TIFF_G37 TIFF image
IFF_TIFF_G48 TIFF image
IFF_TIFF_LZW9 TIFF image
IFF_TIFF_ZIP10 TIFF image
IFF_PNM11 PNM image
IFF_PS12 PS image
IFF_GIF13 GIF image
IFF_JP214 JP2 image
IFF_WEBP15 WEBP image
IFF_LPDF16 LPDF image
IFF_DEFAULT17 Default file format. See remarks for details.
IFF_SPIX18 SPIX file format
Remarks
The IFF_DEFAULT flag is used to write the file out in the same(input) file format that the pix was read from.If the pix was not read from file, the input format field will be IFF_UNKNOWN and the output file format will be chosen to be compressed and lossless; namely, IFF_TIFF_G4 for d = 1 and IFF_PNG for everything else. IFF_JP2 is for jpeg2000, which is not supported in leptonica.
See Also