Sfoglia il codice sorgente

* If the export test target is ANSI or UTF-8, dither image with special

shaded glyphs.
tags/v0.99.beta14
Sam Hocevar sam 18 anni fa
parent
commit
552974ffd9
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. +2
    -0
      test/export.c

+ 2
- 0
test/export.c Vedi File

@@ -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);


Caricamento…
Annulla
Salva