Leptonica 1.68
C Image Processing Library
|
Enums for supported image file formats. More...
Go to the source code of this file.
Data Structures | |
struct | L_Compressed_Data |
struct | L_Pdf_Data |
Typedefs | |
typedef struct L_Compressed_Data | L_COMPRESSED_DATA |
typedef struct L_Pdf_Data | L_PDF_DATA |
Enumerations | |
enum | { 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_DEFAULT = 17, IFF_SPIX = 18 } |
enum | { BMP_ID = 0x4d42, TIFF_BIGEND_ID = 0x4d4d, TIFF_LITTLEEND_ID = 0x4949 } |
enum | { L_HINT_GRAY = 1 } |
enum | { L_JPEG_ENCODE = 1, L_G4_ENCODE = 2, L_FLATE_ENCODE = 3 } |
enum | { L_FIRST_IMAGE = 1, L_NEXT_IMAGE = 2, L_LAST_IMAGE = 3 } |
Enums for supported image file formats.
In use, either datacomp or data85 will be produced, depending on whether the data needs to be ascii85 encoded. PostScript requires ascii85 encoding; pdf does not. For the colormap (flate compression only), PostScript uses ascii85 encoding and pdf uses a bracketed array of space-separated hex-encoded rgb triples. Only tiff g4 (type == L_G4_ENCODE) uses the minisblack field.
Definition in file imageio.h.
typedef struct L_Compressed_Data L_COMPRESSED_DATA |
typedef struct L_Pdf_Data L_PDF_DATA |
anonymous enum |
anonymous enum |
anonymous enum |