Raise exceptions when unsupported PNG image is parsed.