Checks the integrity of PNG images
