![]() |
CAPS Universe documentation
1.0.4
All you need to know to be successful
|
Brother 1027 encoding method data block's binary header. More...
Data Fields | |
| uint16_t | border_left |
| uint16_t | border_top |
| uint8_t | line_cnt |
| uint16_t | word_cnt |
| uint16_t | data [0] |
line_cnt member must be encoded as -1 of the real value pixel_cnt is defined as horizontal 16 bits words in one line. | uint16_t border_left |
Left border in [dots] (e.g. leftmost dot in this data block)
| uint16_t border_top |
Top border in [lines] (e.g. page's line number of the band's top line)
| uint8_t line_cnt |
Count of lines encoded in this data block (-1, e.g. "1" means two lines)
| uint16_t word_cnt |
Count of [words] in all lines of this data block
| uint16_t data[0] |
The encoded block data starts here (max. C1027_MAX_WORDS_IN_ONE_BLOCK)