txlyre 1 anno fa
parent
commit
636db2ea1d
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      counter.c/counter.c

+ 1 - 0
counter.c/counter.c

@@ -58,6 +58,7 @@ void counter_create(unsigned long number, FILE *fd) {
     PNG_COMPRESSION_TYPE_BASE,
     PNG_FILTER_TYPE_BASE
   );
+  png_set_compression_level(png, 1);
   png_write_info(png, info);
   png_write_image(png, rows);
   png_write_end(png, info);