|
|
@@ -108,6 +108,8 @@ int main(int argc, char *argv[]) |
|
|
|
|
|
|
|
dither = cucul_create_dither(32, 256, 256, 4 * 256, |
|
|
|
0x00ff0000, 0x0000ff00, 0x000000ff, 0x0); |
|
|
|
if(!strcmp(format, "ansi") || !strcmp(format, "utf8")) |
|
|
|
cucul_set_dither_charset(dither, "shades"); |
|
|
|
cucul_dither_bitmap(cv, 0, 0, cucul_get_canvas_width(cv), |
|
|
|
cucul_get_canvas_height(cv), dither, pixels); |
|
|
|
cucul_free_dither(dither); |
|
|
|