-
-
Notifications
You must be signed in to change notification settings - Fork 389
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
Composite semi-transparent avatars over a solid background #3874
Composite semi-transparent avatars over a solid background #3874
Commits on Jul 23, 2023
-
Composite semi-transparent avatars over a solid background
Avatars that are semi-transparent are a problem when viewing a thread, as the line that connects different statuses in the same thread is drawn underneath the avatar and is visible. Fix this with a CompositeWithOpaqueBackground Glide transformation that: 1. Extracts the alpha channel from the avatar image 2. Converts the alpha to a 1bpp mask 3. Draws that mask on a new bitmap, with the appropriate background colour 4. Draws the original bitmap on top of that So any partially transparent areas of the original image are drawn over a solid background colour, so anything drawn under them will not appear.
Nik Clayton committedJul 23, 2023 Configuration menu - View commit details
-
Copy full SHA for ad1aeea - Browse repository at this point
Copy the full SHA ad1aeeaView commit details
Commits on Jul 27, 2023
-
Merge remote-tracking branch 'upstream/develop' into transparent-avat…
…ars-threads
Nik Clayton committedJul 27, 2023 Configuration menu - View commit details
-
Copy full SHA for e558812 - Browse repository at this point
Copy the full SHA e558812View commit details -
Only composite avatars in timelines, not elsewhere (e.g., the account…
… page)
Nik Clayton committedJul 27, 2023 Configuration menu - View commit details
-
Copy full SHA for adead8d - Browse repository at this point
Copy the full SHA adead8dView commit details -
Nik Clayton committed
Jul 27, 2023 Configuration menu - View commit details
-
Copy full SHA for fb414c7 - Browse repository at this point
Copy the full SHA fb414c7View commit details -
Merge remote-tracking branch 'upstream/develop' into transparent-avat…
…ars-threads
Nik Clayton committedJul 27, 2023 Configuration menu - View commit details
-
Copy full SHA for 517d4e5 - Browse repository at this point
Copy the full SHA 517d4e5View commit details
Commits on Jul 31, 2023
-
Merge branch 'develop' into transparent-avatars-threads
Nik Clayton authoredJul 31, 2023 Configuration menu - View commit details
-
Copy full SHA for c81ee8c - Browse repository at this point
Copy the full SHA c81ee8cView commit details -
Merge branch 'develop' into transparent-avatars-threads
Nik Clayton authoredJul 31, 2023 Configuration menu - View commit details
-
Copy full SHA for 28a69e0 - Browse repository at this point
Copy the full SHA 28a69e0View commit details
Commits on Aug 6, 2023
-
Merge branch 'develop' into transparent-avatars-threads
Nik Clayton authoredAug 6, 2023 Configuration menu - View commit details
-
Copy full SHA for 5aa8e24 - Browse repository at this point
Copy the full SHA 5aa8e24View commit details