Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-92807

QImageReader not reporting corrupt JPEG images correctly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 5.12.5
    • Image formats
    • None
    • Linux/X11

    Description

      QImageReader does not report an error if the file is correct.

      In my test, I truncate a JPEG file and get QImageReader to read it. There is a warning in debug, but the error status remains OK and  QImage with dimensions is returned.

      I don't seem to be able to attach a zip of my test code (Jira could not attach the file as there was a missing token. Please try attaching the file again).

       

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              vgt Eirik Aavitsland
              nethers David Netherwood
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes