Leptonica 1.68
C Image Processing Library

imageio.h File Reference

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 }

Detailed Description

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 Documentation

Definition at line 108 of file imageio.h.

typedef struct L_Pdf_Data L_PDF_DATA

Definition at line 149 of file imageio.h.


Enumeration Type Documentation

anonymous enum
Enumerator:
IFF_UNKNOWN 
IFF_BMP 
IFF_JFIF_JPEG 
IFF_PNG 
IFF_TIFF 
IFF_TIFF_PACKBITS 
IFF_TIFF_RLE 
IFF_TIFF_G3 
IFF_TIFF_G4 
IFF_TIFF_LZW 
IFF_TIFF_ZIP 
IFF_PNM 
IFF_PS 
IFF_GIF 
IFF_JP2 
IFF_WEBP 
IFF_LPDF 
IFF_DEFAULT 
IFF_SPIX 

Definition at line 34 of file imageio.h.

anonymous enum
Enumerator:
BMP_ID 
TIFF_BIGEND_ID 
TIFF_LITTLEEND_ID 

Definition at line 58 of file imageio.h.

anonymous enum
Enumerator:
L_HINT_GRAY 

Definition at line 66 of file imageio.h.

anonymous enum
Enumerator:
L_JPEG_ENCODE 
L_G4_ENCODE 
L_FLATE_ENCODE 

Definition at line 72 of file imageio.h.

anonymous enum
Enumerator:
L_FIRST_IMAGE 
L_NEXT_IMAGE 
L_LAST_IMAGE 

Definition at line 112 of file imageio.h.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines