-
-
Notifications
You must be signed in to change notification settings - Fork 886
Normalize and cleanup encoders #2269
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
Merged
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
e238cc6
Define base classes and options
JimBobSquarePants 52bac6f
Migrate Gif encoder
JimBobSquarePants a824703
Migrate Bmp encoder
JimBobSquarePants e58f292
Merge branch 'main' into js/encoder-normalization
JimBobSquarePants ca51d41
BmpEncoder uses Octree as default
JimBobSquarePants 073cefd
Fix frame enumeration and clean up
JimBobSquarePants 715b0ba
Use sampling strategy in BmpEncoder
JimBobSquarePants 6485dde
Convert jpeg encoder.
JimBobSquarePants 8c90f78
Convert PbmEncoder. Make options immutable
JimBobSquarePants 4499df7
Migrate PngEncoder and fix tests
JimBobSquarePants b88b181
Migrate TgaEncoder
JimBobSquarePants f0b935e
TgaEncoder options should be immutable.
JimBobSquarePants 1ac9de5
Convert TiffEncoder, Use sampling strategy for local palette building
JimBobSquarePants 2fc9719
Convert WebpEncoder
JimBobSquarePants 37d4ed2
Allow skipping Tiff metadata
JimBobSquarePants ebdf5c8
Merge branch 'main' into js/encoder-normalization
JimBobSquarePants 6745cae
Update src/ImageSharp/Formats/Png/PngEncoderCore.cs
JimBobSquarePants 45a7b8b
Update src/ImageSharp/Processing/Processors/Quantization/DefaultPixel…
JimBobSquarePants 30a245a
Build fixes and feedback
JimBobSquarePants 48b3abe
Remove IEncoderOptions
JimBobSquarePants 307a3ba
Use DebugGuard
JimBobSquarePants af7eadd
Update PixelSamplingStrategyTests.cs
JimBobSquarePants e5df749
Fix sampling tests
JimBobSquarePants 830d3e2
Use DebugGuard
antonfirsov 864735f
Move check outside of the loop
JimBobSquarePants 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 hidden or 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 hidden or 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 hidden or 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 was deleted.
Oops, something went wrong.
This file contains hidden or 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.
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.
It's easy to overlook important semantic changes if there are so many style refactorings in the same PR.
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.
Yeah, but every time I open a file just now there's a heap of warnings from the new rules. I'm adopting the boy scout rule.