-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
High-level compression options API #503
Merged
fintelia
merged 41 commits into
image-rs:master
from
Shnatsel:high-level-compression-control
Dec 29, 2024
Merged
Changes from all commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
6e258b5
Introduce advanced compression settings
Shnatsel b431bbf
Make roundtrip tests try various compression modes
Shnatsel 72df368
Rename AdvancedCompression to DeflateCompression, so that Compression…
Shnatsel 54b89cf
Refactor the high-level API for setting the compression level. Semver…
Shnatsel c767438
Make the Compression setting also influence the filter choice
Shnatsel e7dd3dc
Fix compilation of the roundtrip fuzzer
Shnatsel 8b08c9a
Merge branch 'master' into advanced-compression
Shnatsel 1e83f78
Merge branch 'advanced-compression' into high-level-compression-control
Shnatsel 6b06728
Disable fuzzing Compression::None to see if it's the culprit for non-…
Shnatsel b702a94
Compression::None was not the impostor.
Shnatsel aed727a
Rename None to NoCompression
Shnatsel dd547b0
Rename Default to Balanced
Shnatsel 17e7229
Drop misleading mentions of photos
Shnatsel 3194474
Correct the description of ultrafast mode
Shnatsel 739a93a
Merge branch 'master' into high-level-compression-control
Shnatsel cc8956a
Switch the default filter over to adaptive
Shnatsel 104a048
Add Fastest mode for Fdeflate+Up, switch Fast mode to Fdeflate+Adaptive
Shnatsel c8b19c9
Refactor FilterType and AdaptiveFilterType into a single public enum
Shnatsel 30192da
Drop vestigial AdaptiveFilterType enum
Shnatsel f07106b
Rename FilterType to Filter
Shnatsel 085fba9
Refactor set_compression: split the conversion from Compression to Fi…
Shnatsel 571ca49
Make adaptive filtering the default in one more place
Shnatsel eecf56c
Fix compilation of benchmakring example
Shnatsel f7adc08
Fix doclinks
Shnatsel 2eaf588
Fix one more doclink
Shnatsel d157df1
Update doc comments on the oddly numerous set_filter
Shnatsel 98f0c29
Document the default on the Filter struct too
Shnatsel a96a3a2
Fix compilation of benchmark reexport module
Shnatsel 111f7c2
Make Filter enum non-exhaustive to facilitate further experimentation…
Shnatsel 7ba0fda
Document stability guarantees for in-depth compression controls
Shnatsel 4c336eb
Use `Filter::None` for `Compression::Fastest` preset
Shnatsel df73363
Revert "Use `Filter::None` for `Compression::Fastest` preset"
Shnatsel 76b219a
Record the rationale for Filter::Up in a comment
Shnatsel a10a266
Clarify comment
Shnatsel 43489af
cargo fmt
Shnatsel 5af8a95
Switch flate2 mode from using u32 compression level to u8, for a hope…
Shnatsel ca24d55
Correct comment
Shnatsel 131d010
Merge branch 'master' into high-level-compression-control
Shnatsel a5990f3
cargo fmt
Shnatsel 9a398c2
Update roundtrip target to the new encoding API. improves encoding pa…
Shnatsel f9d27be
drop unused imports
Shnatsel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A link backing up these claims would be nice here and in the new updated readme. It requires a bit of digging and research on the reader's part to confirm this.