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

Images ending with "@2x" are loaded incorrectly (on non-retina systems)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.3.0 Beta1
    • Image formats
    • Non-retina system

    Description

      Not sure if this intended or a bug.

      When loading an image whose file base name ends with "@2x", on non-retina systems (or simply systems with devicepixelratio != 2), I get a QImage with the original dimensions of the image file but the content is scaled down to 50%.

      It seems that the "@2x" is baked deep into QImageReader. Therefore, in Qt Creator, I cannot open a @2x image in an unmodified way.

      Attachments

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

        Activity

          People

            sorvig Morten Sørvig
            portale Alessandro Portale
            Votes:
            3 Vote for this issue
            Watchers:
            11 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes