Leptonica  1.82.0
Image processing and image analysis suite
PixComp Struct Reference

#include <pix.h>

Data Fields

l_int32 w
 
l_int32 h
 
l_int32 d
 
l_int32 xres
 
l_int32 yres
 
l_int32 comptype
 
char * text
 
l_int32 cmapflag
 
l_uint8 * data
 
size_t size
 

Detailed Description

Compressed Pix

Definition at line 628 of file pix.h.

Field Documentation

◆ cmapflag

l_int32 PixComp::cmapflag

flag (1 for cmap, 0 otherwise)

Definition at line 640 of file pix.h.

Referenced by pixacompWriteStream(), pixcompCreateFromString(), pixcompGetParameters(), and pixcompWriteStreamInfo().

◆ comptype

l_int32 PixComp::comptype

compressed format (IFF_TIFF_G4, IFF_PNG, IFF_JFIF_JPEG)

Definition at line 637 of file pix.h.

Referenced by pixacompWriteStream(), pixcompCreateFromString(), pixcompGetParameters(), and pixcompWriteStreamInfo().

◆ d

l_int32 PixComp::d

◆ data

l_uint8* PixComp::data

the compressed image data

Definition at line 641 of file pix.h.

Referenced by pixacompWriteStream(), pixcompCreateFromString(), pixcompDestroy(), pixcompFastConvertToPdfData(), and pixCreateFromPixcomp().

◆ h

l_int32 PixComp::h

◆ size

size_t PixComp::size

◆ text

char* PixComp::text

text string associated with pix

Definition at line 639 of file pix.h.

Referenced by pixcompDestroy(), and pixCreateFromPixcomp().

◆ w

l_int32 PixComp::w

◆ xres

l_int32 PixComp::xres

image res (ppi) in x direction (use 0 if unknown)

Definition at line 633 of file pix.h.

Referenced by pixacompWriteStream(), pixcompGetParameters(), pixcompWriteStreamInfo(), and pixCreateFromPixcomp().

◆ yres

l_int32 PixComp::yres

image res (ppi) in y direction (use 0 if unknown)

Definition at line 635 of file pix.h.

Referenced by pixacompWriteStream(), pixcompGetParameters(), pixcompWriteStreamInfo(), and pixCreateFromPixcomp().


The documentation for this struct was generated from the following file: