I often have the problem that faulty PNGs sneak into my game files, triggering libpng warnings. However, I have a lot of PNG and I know some of them are faulty (usually incorrect sRGB profile). But I don't know which of my lots and lots of PNGs are faulty.
Here's my question to you:
Given a large directory containing many PNGs of which a few are faulty, how do I locate the faulty PNGs?