element-hq / element-hq/element-web

libpng warning: iCCP: known incorrect sRGB profile

Open
#32,217 2 comments 0 reactions 0 assignees View on GitHub
A-Electron A-Media O-Uncommon S-Tolerable T-Enhancement T-Feature
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### 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](https://gist.github.com/bluenex/0af2f41fda9954df73a8)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.