Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
5.11.1
-
None
Description
This file Failed.png can't be parsing by the code
QImage image; QImageReader reader(path); reader.setFormat(QByteArray(".png")); reader.setQuality(0); if (!reader.read(&image)) { // get error description QImageReader::InvalidDataError 4 The image data was invalid, and QImageReader was unable to read an image from it. The can happen if the image file is damaged. }
Is this file really corrupted?
Note: open this file not in browser, use Windows picture viewer