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

libpng warning: iCCP: known incorrect sRGB profile #797

Open
MountainX opened this issue Apr 16, 2022 · 2 comments
Open

libpng warning: iCCP: known incorrect sRGB profile #797

MountainX opened this issue Apr 16, 2022 · 2 comments

Comments

@MountainX
Copy link

Your use case

What would you like to do?

When I open Element-desktop in a console, I see thousands of lines printed with this warning:

libpng warning: iCCP: known incorrect sRGB profile

I would like the warning to show the filename of the problematic image.

Why would you like to do it?

The warning indicates that the image's color profile needs to be converted.

How would you like to achieve it?

If the faulty images are part of the Element package, identifying them would allow devs to convert the faulty images. If they are my images, I can convert them.

Have you considered any alternatives?

No response

Additional context

Some related discussion here:

fixing 'libpng warning: iCCP: known incorrect sRGB profile' appears in Pygame. · GitHub

@dbkr
Copy link
Member

dbkr commented Apr 19, 2022

This will be a warning printed by libpng from electron (I assume you're talking about the desktop app?), so not something we really have control over unfortunately. I can tell you I don't get the same warnings on macOS, so it's probably not one of the Element assets (I think there are hardly any PNGs anyway), or it could be platform difference (you also haven't said what platform you're on).

One theory to try: could this be images with a specific colour profile being thumbnailed by the homeserver which is not processing the colour profile correctly?

@MountainX
Copy link
Author

I assume you're talking about the desktop app?

Yes

you also haven't said what platform you're on

Arch Linux

@t3chguy t3chguy transferred this issue from element-hq/element-web Apr 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants