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 warnings at startup #1302

Closed
VictorLamoine opened this issue Oct 16, 2018 · 3 comments
Closed

libpng warnings at startup #1302

VictorLamoine opened this issue Oct 16, 2018 · 3 comments

Comments

@VictorLamoine
Copy link
Contributor

$ rosrun rviz rviz
[ INFO] [1539699041.413223554]: rviz version 1.13.1
[ INFO] [1539699041.413260869]: compiled against Qt version 5.9.5
[ INFO] [1539699041.413281630]: compiled against OGRE version 1.9.0 (Ghadamon)
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
[ INFO] [1539699041.771737540]: Stereo is NOT SUPPORTED
[ INFO] [1539699041.772558821]: OpenGl version: 3 (GLSL 1.3).
libpng warning: iCCP: known incorrect sRGB profile
@VictorLamoine
Copy link
Contributor Author

It comes from ICC profiles inside PNG images. The PNG images have to be stripped from their profiles to avoid this kind of error.

find . -type f -name "*.png" -exec mogrify -strip {} {} \;

I still get the warnings after removing the profiles from the PNG images.

@jarvisschultz
Copy link

@VictorLamoine, I do think that your description of what is wrong is correct, and I think that the command you've provided should fix the issue. When I used your command on my rviz PNG files, my warnings disappeared.

@VictorLamoine
Copy link
Contributor Author

You are right, I have tested again and it solves the issue, I have opened a pull request.
Thanks for testing

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

No branches or pull requests

2 participants