Compress alpha with strategy sensitive to repetitions

This commit is contained in:
Kornel Lesiński 2018-11-13 20:42:56 +00:00
parent 96eda85806
commit e0e90a7da7

View file

@ -20,7 +20,8 @@ use std::iter::Iterator;
use std::path::Path; use std::path::Path;
const STD_COMPRESSION: u8 = 8; const STD_COMPRESSION: u8 = 8;
const STD_STRATEGY: u8 = 2; // Huffman only /// Must use normal compression, as faster ones (Huffman/RLE-only) are not representative
const STD_STRATEGY: u8 = 0;
const STD_WINDOW: u8 = 15; const STD_WINDOW: u8 = 15;
const STD_FILTERS: [u8; 2] = [0, 5]; const STD_FILTERS: [u8; 2] = [0, 5];