Copy and paste of PNGImageReader from JDK11 changed to handle corrupted PNGs as JDK8 did.
Primary LanguageJava