oxipng/src
andrews05 ca05d99be4
Assume None if the line is all zeros (#650)
#648 may have been a bit hasty - I realised afterward that there's a
simpler way to achieve the same thing, and include the Brute filter as
well.

This reverts #648 and instead just picks None up front if the line is
all zeros. This is guaranteed to be the chosen filter for MinSum,
Entropy, Bigrams and BigEnt. It's almost certainly true for Brute as
well but this is harder to prove. I've tested this across hundreds of
images and found no change in output.
2024-11-28 17:21:10 +01:00
..
deflate Workaround weird regression with &[u8] and zopfli (#595) 2024-11-26 12:41:18 +01:00
png Assume None if the line is all zeros (#650) 2024-11-28 17:21:10 +01:00
reduction Bump RGB crate 2024-07-10 08:31:47 +12:00
atomicmin.rs Fix some new nightly Clippy lints and run rustfmt with prettier config 2024-02-20 19:12:35 +01:00
cli.rs Expose zc level 0 (uncompressed) 🚀 (#641) 2024-09-05 00:32:28 +02:00
colors.rs Fix some new nightly Clippy lints and run rustfmt with prettier config 2024-02-20 19:12:35 +01:00
display_chunks.rs Feature/manpage (#596) 2024-03-18 12:28:52 +01:00
error.rs Fix some new nightly Clippy lints and run rustfmt with prettier config 2024-02-20 19:12:35 +01:00
evaluate.rs Allow passing a format description to the evaluator 2024-04-13 08:12:16 +12:00
filters.rs Fix some new nightly Clippy lints and run rustfmt with prettier config 2024-02-20 19:12:35 +01:00
headers.rs Feature/manpage (#596) 2024-03-18 12:28:52 +01:00
interlace.rs Fix new Clippy lint about manual div_ceil implementation 2024-09-28 15:42:02 +02:00
lib.rs Expose zc level 0 (uncompressed) 🚀 (#641) 2024-09-05 00:32:28 +02:00
main.rs Fix new Clippy lint 2024-11-19 21:36:06 +01:00
options.rs Fix some new nightly Clippy lints and run rustfmt with prettier config 2024-02-20 19:12:35 +01:00
rayon.rs Remove some now unnecessary Clippy lints allowances 2024-07-11 15:20:53 +12:00
sanity_checks.rs Run cargo fmt 2024-09-28 15:41:54 +02:00