-
-
Notifications
You must be signed in to change notification settings - Fork 887
Remove ImageFormat out params and return on Metadata #2317
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 12 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
89d6fc8
Expose ImageInfo and add IImageFormat to metadata
JimBobSquarePants 3ee22e8
Detect non configuration decoder instances
JimBobSquarePants 538e1d4
Update ImageTests.ImageLoadTestBase.cs
JimBobSquarePants 4a06d15
Update ImageFormatManager.cs
JimBobSquarePants 250d73a
Fix build
JimBobSquarePants ff4731a
Attempt to fix equality match in identify tests
JimBobSquarePants e35d1e7
Fix ImageFormatManager docs
JimBobSquarePants 0aa12a4
Refactor Identify and DetectFormat and fix tests
JimBobSquarePants f421701
Refactor Load APIs
JimBobSquarePants 7139a52
Refactor Identify tests
JimBobSquarePants eff9b0a
Revert recent Detect changes and normalize.
JimBobSquarePants 94850fc
Delete Attempt{T}.cs
JimBobSquarePants 7af3cf1
Update tests/ImageSharp.Tests/TestUtilities/Tests/TestImageProviderTe…
JimBobSquarePants 289d7ee
Update tests/ImageSharp.Tests/TestUtilities/Tests/TestImageProviderTe…
JimBobSquarePants 4967c71
Update tests/ImageSharp.Tests/TestUtilities/ReferenceCodecs/MagickRef…
JimBobSquarePants 96a22c4
Remove IImageInfo, IImage and use inheritance.
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 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 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
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.
rather than calling this at every overload... could this not just happen inside the
Decode()call above? well instead of calling the abstractDecode<>()directly create aDecodeInternal<>()(name?) that calls the abstract method and sets the decoder rather than have to repeat the call on every overload.Uh oh!
There was an error while loading. Please reload this page.
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.
Not that I can see. Each of the sync/async calls are different calling the generic/non-generic versions. The overloads are the abstract methods.