enthought / mayavi

3D visualization of scientific data in Python
http://docs.enthought.com/mayavi/mayavi/
Other
1.3k stars 284 forks source link

Mayavi 4.7.4 ships with a bad png file #1117

Open aharel opened 2 years ago

aharel commented 2 years ago

The png file mayavi/core/ui/images/preferences.png has the same problem that was reported here in 2018, resulting in a "libpng warning: iCCP: known incorrect sRGB profile" print out when using Mayavi. This can be fixed in many ways (see https://stackoverflow.com/questions/22745076/libpng-warning-iccp-known-incorrect-srgb-profile). I used pngcrush.

This is a but a minor annoyance. But getting sidetracked like that while debugging several crashing bugs and severe visualization problems, is not fun...

rahulporuri commented 2 years ago

thanks for reporting this @aharel .

update: https://github.com/enthought/mayavi/blob/2103a273568b8f0bd62328801aafbd6252543ae8/mayavi/core/ui/images/preferences.png is the file in question.