CAPS Universe documentation
1.0.4
All you need to know to be successful
|
Halftone converter run-time data. More...
Data Fields | |
unsigned | right_left:1 |
signed int | dotval [2] |
signed int | threshold |
size_t | pixel_count |
conv_type * | sliding_lines [2] |
dotval
[0] or dotval
[1] values. unsigned right_left |
half tone algorithm direction left->right or right->left
signed int dotval[2] |
dotval[0]: do not print value (e.g. 0), dotval[1]: print value (e.g. 255) FIXME nicht anders herum?
signed int threshold |
Threshold to chose one of the dotval
values, below threshold: dotval[0], else dotval[1]
size_t pixel_count |
width of target image in pixels
conv_type* sliding_lines[2] |
Two lines of the source image to process, size corresponds to "pixel_count"