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.
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
Add Optimize Images setting and enable it by default #21981
Add Optimize Images setting and enable it by default #21981
Changes from 18 commits
624c1f4
574f2d1
454ed20
92aa560
9df1f57
39b5c63
b9f0892
351b740
c0bd61d
a3c5fe8
1040b88
bf760b9
eaba7b1
637a196
5b2c7a6
2a4dd6b
b6f0127
3bc4737
2ce126f
a51fb8f
d64232c
a85f4b1
f29f4d2
b968b02
477777c
92d4d13
294a62f
63d6250
b71b7f8
132bfbc
119b325
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
80%, which is the current default, is considered optimal for web uploads. I would suggest going with 10% increments where 80% would be "Default", "Standard" or something like that.
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.
Thanks @kean for sharing this useful info 🙇 ! To be honest, I merely chose these quality values based on the ones we have in the Android version (reference). However, as you suggested, it might be interesting to use different values and more close to standards:
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.
Suggestion applied in b6f0127.
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.
Note that I removed
Very High
option as the above four options should be enough to set different quality settings.