Skip to content
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

Signal drops PNG transparency for profile picture #8875

Closed
4 tasks done
yaomtc opened this issue Jun 15, 2019 · 2 comments
Closed
4 tasks done

Signal drops PNG transparency for profile picture #8875

yaomtc opened this issue Jun 15, 2019 · 2 comments

Comments

@yaomtc
Copy link

yaomtc commented Jun 15, 2019


Bug description

Uploading a PNG with a transparent background as a profile picture results in an image with a black background.

Steps to reproduce

  • Get a PNG that has a transparent background.
  • Tap your icon to get to Settings.
  • Tap your icon again.
  • Tap your icon a third time, and choose the aforementioned PNG file.

Actual result: A black background is added to the PNG file.
Expected result: The PNG file is displayed with a transparent background as intended.

Screenshots

The original file:

a.png

The file on my desktop before sending it to my phone:

a.png on desktop

The file being cropped against black, for some reason:

cropping

The resulting image:

result

Device info

Device: Motorola Moto X4
Android version: 9.0
Signal version: 4.41.5

@alan-signal
Copy link
Contributor

alan-signal commented Jun 17, 2019

Avatars have always been jpegs (as far as I can see), so they have never supported transparency.

Therefore this is a feature request rather than a bug. Please make feature requests on the forum https://community.signalusers.org.

However, if you feel it did work at some point in time "Signal drops PNG transparency" please provide more information.

@yaomtc
Copy link
Author

yaomtc commented Jun 19, 2019

By "dropped" I meant "removed the transparency of the image", not "it supported transparency and now it doesn't". I did not know whether this worked before, so I wasn't sure if it was a bug. Since I now know it converts everything to JPEG, I'll go make a request. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants