Leptonica  1.77.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 633 of file pix.h.

Field Documentation

◆ cmapflag

l_int32 PixComp::cmapflag

flag (1 for cmap, 0 otherwise)

Definition at line 645 of file pix.h.

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

◆ comptype

l_int32 PixComp::comptype

compressed format (IFF_TIFF_G4, IFF_PNG, IFF_JFIF_JPEG)

Definition at line 642 of file pix.h.

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

◆ d

◆ data

l_uint8* PixComp::data

◆ h

◆ size

◆ text

char* PixComp::text

text string associated with pix

Definition at line 644 of file pix.h.

Referenced by pixcompCopy(), pixcompDestroy(), and pixCreateFromPixcomp().

◆ w

◆ xres

l_int32 PixComp::xres

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

Definition at line 638 of file pix.h.

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

◆ yres

l_int32 PixComp::yres

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

Definition at line 640 of file pix.h.

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


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