-
Notifications
You must be signed in to change notification settings - Fork 2k
Add configurable ResizeQuality for Resizetizer #34559
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
kubaflo
merged 30 commits into
net11.0
from
feature/resizetizer-configurable-filter-quality
Aug 7, 2026
Merged
Changes from 24 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
0ad2d89
Make FilterQuality configurable for Resizetizer
jfversluis 92052cb
Map FilterQuality to SamplingOptions and add functional tests
jfversluis 83e0abb
Replace SKFilterQuality with custom ResizeQuality enum
jfversluis 41deb7d
Address review: case-insensitive parsing + Best quality test
jfversluis b2975d5
Fix test gaps: SamplingOptions correctness, SVG pixel diffs, Best smo…
jfversluis 9f96a53
Address review: add pixel array length guard, fix Fastest XML doc
jfversluis 29a4d92
Potential fix for pull request finding
jfversluis a0d315f
Fix missing </summary> XML doc tag and add ResizeQuality to build inv…
jfversluis aae8194
Fix ResizeQuality propagation for monochrome adaptive icons
jfversluis 04ad952
Address ResizeQuality incremental review feedback
jfversluis 24bf0a2
Fix ResizeQuality splash input test for Helix
jfversluis 1400dcd
Address ResizeQuality review comments
jfversluis 10271d0
Address ResizeQuality incremental review follow-up
jfversluis 3d3c59c
Require source inputs for ResizeQuality freshness checks
jfversluis f80c83f
Allow optional empty ResizeQuality freshness inputs
jfversluis 3848dca
Address ResizeQuality SVG review feedback
jfversluis b80fcff
Guard in-tree imports on Core buildtasks
jfversluis 65d879e
Handle fractional SVG dimensions for ResizeQuality
jfversluis e29b54f
Address final ResizeQuality review comments
jfversluis 0a80a67
Fix adaptive icon foreground comment typo
jfversluis 99f27ee
Remove unused Resizer using
jfversluis 8c1d05e
Merge net11.0 into ResizeQuality branch
jfversluis 2cecde0
Fix net11 device test compile errors
jfversluis bc8afed
Skip Avalonia template builds until packages are available
jfversluis b0d2352
Serialize dispatcher provider unit tests
jfversluis 3b29bba
Check in-tree build task imports before importing
jfversluis f9d67f6
Merge net11.0 into ResizeQuality branch
jfversluis 484a562
Add empirical SVG resize quality test
jfversluis 943428a
Retry CI after infrastructure failure
jfversluis a6f7f81
Preserve resize quality for themed splash assets
jfversluis 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| namespace Microsoft.Maui.Resizetizer | ||
| { | ||
| /// <summary> | ||
| /// Controls the quality of image resampling during resize operations. | ||
| /// </summary> | ||
| internal enum ResizeQuality | ||
| { | ||
| /// <summary> | ||
| /// Default behavior, preserving existing image output. | ||
| /// Uses bilinear interpolation with mipmaps. | ||
| /// </summary> | ||
| Auto = 0, | ||
|
|
||
| /// <summary> | ||
| /// Highest quality output using Mitchell cubic resampler. | ||
| /// Provides high-fidelity scaling when preserving smooth detail is critical. | ||
| /// Uses cubic resampling for smoother results than the default bilinear output. | ||
| /// </summary> | ||
| Best = 1, | ||
|
|
||
| /// <summary> | ||
| /// Fastest processing with nearest-neighbor interpolation. | ||
| /// May appear pixelated when scaling, but is ideal for pixel art. | ||
| /// Use it when build speed matters more than visual fidelity. | ||
| /// </summary> | ||
| Fastest = 2, | ||
| } | ||
| } |
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.
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.
Uh oh!
There was an error while loading. Please reload this page.