-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Use smoother bitmap downscaling for thumbnails. #8686
Use smoother bitmap downscaling for thumbnails. #8686
Conversation
When checking the change in |
ae9ed80
to
867d641
Compare
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.
Could you provide screenshots for comparison? Does the benefits exceed the cost of possibly having bugs or crashes?
The documentation mentions that a mutable bitmap is returned if the original was immutable. Edit: If the source bitmap was not returned, and the source is returned if the new dimensions were the same as the original. |
@gulachev @arielshulman could you test if this PR still works fine, or if it reintroduces #4638? Assuming you still have the same phone. |
39a39c0
to
a2c4b05
Compare
a2c4b05
to
34e1e94
Compare
Hey, brought that phone to my boy... |
0069883
to
a387191
Compare
a387191
to
6cea7d6
Compare
61c1829
to
814e0f7
Compare
Kudos, SonarCloud Quality Gate passed! |
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.
lgtm
75312c3
to
4b7de86
Compare
Kudos, SonarCloud Quality Gate passed! |
Something strange happened. Anyway, this is approved and merged in #9479, thanks @Isira-Seneviratne :-) |
What is it?
Description of the changes in your PR
BitmapCompat.createScaledBitmap()
for smoother thumbnail downscaling.Before/After Screenshots/Screen Record
Fixes the following issue(s)
APK testing
The APK can be found by going to the "Checks" tab below the title. On the left pane, click on "CI", scroll down to "artifacts" and click "app" to download the zip file which contains the debug APK of this PR.
Due diligence