Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-24853

WelcomeScreen: Image loading unnecessarily depends on image format auto detection

    XMLWordPrintable

Details

    Description

      The examples and marketplace pages show images that are decoded from data buffers. This currently happens without specifying the encoding format, which triggers image auto-detection.

      This auto-detection adds a certainly negligible overhead. However, it can trigger warnings such as https://codereview.qt-project.org/c/qt/qtimageformats/+/316182 while probing the different QImageIOHandlers.

      Since we have URLs incl. the filename for the image data, we can extract the suffix as image format and use that when loading an image form buffer.

      Attachments

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

        Activity

          People

            portale Alessandro Portale
            portale Alessandro Portale
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes