cab CUPS Treiber  ---
imghead_t Struct Reference

Internal struct to store basic informations for the image header. More...

#include <image.h>

Data Fields

unsigned char version [2]
 Is normally 1. More...
 
unsigned char length [2]
 Header size. More...
 
unsigned char planes [2]
 1 for monochrome and 4 for 16-col files More...
 
unsigned char pattlen [2]
 length in bytes of a pattern More...
 
unsigned char width [2]
 Width of a pixel in tenths of a millimetre. More...
 
unsigned char height [2]
 Height of a pixel in tenths of a millimetre. More...
 
unsigned char pixels [2]
 Image width - pixles per line. More...
 
unsigned char lines [2]
 Image height - lines per image. More...
 

Detailed Description

Internal struct to store basic informations for the image header.

Definition at line 27 of file image.h.

Field Documentation

◆ height

unsigned char imghead_t::height[2]

Height of a pixel in tenths of a millimetre.

Definition at line 33 of file image.h.

Referenced by write_img_header().

◆ length

unsigned char imghead_t::length[2]

Header size.

Definition at line 29 of file image.h.

Referenced by write_img_header().

◆ lines

unsigned char imghead_t::lines[2]

Image height - lines per image.

Definition at line 35 of file image.h.

Referenced by write_img_header().

◆ pattlen

unsigned char imghead_t::pattlen[2]

length in bytes of a pattern

Definition at line 31 of file image.h.

Referenced by write_img_header().

◆ pixels

unsigned char imghead_t::pixels[2]

Image width - pixles per line.

Definition at line 34 of file image.h.

Referenced by write_img_header().

◆ planes

unsigned char imghead_t::planes[2]

1 for monochrome and 4 for 16-col files

Definition at line 30 of file image.h.

Referenced by write_img_header().

◆ version

unsigned char imghead_t::version[2]

Is normally 1.

Definition at line 28 of file image.h.

Referenced by write_img_header().

◆ width

unsigned char imghead_t::width[2]

Width of a pixel in tenths of a millimetre.

Definition at line 32 of file image.h.

Referenced by write_img_header().


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