andrews05
131a3c6af7
🚀 Revamp alpha optimisation ( #475 )
2022-12-10 21:14:50 -05:00
andrews05
a41d7de348
New filter strategies ( #461 )
...
* Refactor filters as enum
* Include filter byte in filter output
* Add entropy filter
* Add bigrams filter
* Add bigram entropy filter
* Add brute filter
* Replace bit-vec
* Add tests and benches
* Show filters in help
* Use FxHasher in color to palette
* Use windows function for minor improvement
2022-11-19 08:49:25 -05:00
Kornel
ea75f6ccc1
Handle files with invalid filters ( #410 )
...
The bad filter case is reachable, and can happen when the PNG file is corrupted.
2021-07-11 23:07:18 -04:00
Kornel
c4910709d9
Assertions
2021-06-16 19:39:05 -04:00
Kornel
b6cc8e2414
Optimize unfiltering ( #400 )
...
* Clippy lints
* Fewer pushes
* Remove special case for empty last line
* Zip with last line
* Combine bound checks
2021-05-19 15:16:14 -04:00
Kornel
17212477c5
Avoid asserts panicking on broken files
2021-01-20 14:33:27 -05:00
Kamal Ahmad
68b763bcdd
Reduce alloc in filtering/unfiltering by reusing buffers ( #191 )
2019-09-04 11:09:54 -04:00
Josh Holmer
d86bc80f43
Prepare for next release
2019-02-01 17:27:03 -05:00
Josh Holmer
f862a0df24
Apply clippy fixes
2018-07-28 16:51:54 -04:00
Josh Holmer
ece85e6d15
Refactoring of internal code into smaller chunks.
...
There is still more to be done.
2018-01-30 09:35:03 -05:00
Josh Holmer
32e3d245f9
Run latest rustfmt
2017-12-27 17:21:21 -05:00
Josh Holmer
0db03c6faf
Fix new clippy lints
2017-09-03 23:36:38 -04:00
Josh Holmer
413f1aac7c
Automatically change transparent pixels to black
2017-07-24 08:47:27 -04:00
Josh Holmer
5f4ddbb8f4
Upgrade dependencies
2017-06-14 18:28:07 -04:00
Josh Holmer
ed3b843dd2
Update rayon and itertools dependencies
2017-05-02 19:29:20 -04:00
Josh Holmer
84cf6b09c2
Run rustfmt since it updated to v0.8.0.
...
I don't really like the new changes, but we might as well follow along.
2017-03-08 11:14:33 -05:00
Josh Holmer
8116d69c3c
Minor optimizations
2017-01-10 08:11:10 -05:00
Josh Holmer
64edc9110e
Start using quickcheck and add inline hints
2016-07-30 23:14:36 -04:00
Josh Holmer
7f9ad263ec
Refactor code into modules
2016-07-14 11:10:10 -04:00