Leptonica  1.83.1
Image processing and image analysis suite
PixComp Struct Reference

#include <pix_internal.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 393 of file pix_internal.h.

Field Documentation

◆ cmapflag

l_int32 PixComp::cmapflag

flag (1 for cmap, 0 otherwise)

Definition at line 405 of file pix_internal.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 402 of file pix_internal.h.

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

◆ d

l_int32 PixComp::d

◆ data

l_uint8* PixComp::data

◆ h

l_int32 PixComp::h

◆ size

size_t PixComp::size

◆ text

char* PixComp::text

text string associated with pix

Definition at line 404 of file pix_internal.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 398 of file pix_internal.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 400 of file pix_internal.h.

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


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