Check PNG signature, required chunks, ordering and CRCs.
Open-source tools that run in your browser.
Bean Yourself