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

Transparent PNG images #472

Open
pumpking19 opened this issue Jan 8, 2024 · 3 comments
Open

Transparent PNG images #472

pumpking19 opened this issue Jan 8, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@pumpking19
Copy link

I have transparent PNG images as avatars in profiles in Gramps Desktop, but after sync with Web version it converted into not transparent JPG images, and background became black. Is it possible to support transparent PNG images in Web version?
img_0001

@DavidMStraub
Copy link
Member

Transferring to API

@DavidMStraub DavidMStraub transferred this issue from gramps-project/gramps-web Jan 8, 2024
@DavidMStraub
Copy link
Member

Hi, the images are not converted, but the thumbnails use JPEG format which doesn't use transparency. Switching to PNG thumbnails or even multiple thumbnails format would be quite a large change and I doubt it's worth it. As a workaround, we could consider making the background white instead of black (I was not aware it defaults to black), but not sure that is really a solution.

@DavidMStraub DavidMStraub added the enhancement New feature or request label Jan 8, 2024
@pumpking19
Copy link
Author

Hi! Thank you for your answer!
Yes, if there is no other way out, I think the white background color will be much better than black.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants