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

Corrupt JPEG data

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.6.1
    • Image formats, Multimedia
    • Microsoft Windows 11 Education, Version 10.0.22631 Build 22631
    • Windows

    Description

      In the attached example, selecting a QCameraFormat where pixelFormat == QVideoFrameFormat::Format_Jpeg produces the following output in the Application Ouput pane of the Qt Creator:

       

      qt.gui.imageio.jpeg: Corrupt JPEG data: 4 extraneous bytes before marker 0xd6
      qt.gui.imageio.jpeg: Corrupt JPEG data: 2 extraneous bytes before marker 0xd4
      qt.gui.imageio.jpeg: Corrupt JPEG data: 1 extraneous bytes before marker 0xd2

      ...

       

      The attached code reproduces this bug using a lightly-modified declarative-camera example, which simply selects a JPEG pixel format for the active camera.

       

      Attachments

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

        Activity

          People

            qtmultimediateam Qt Multimedia Team
            bjones Bryan Jones
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes