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

Scaled pixmap with Qt::SmoothTransformation appear aliased using Qt5.4

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • None
    • 5.4.0
    • QPA
    • None
    • MAC OSX yosemite, Qt 5.4, Qt Creator 3.3.0, IOS 7.1.1 (iphone 4s)
    • iOS/tvOS/watchOS

    Description

      I developed an app and builded with Qt 5.3.0 on MAC OSX yosemite all is working fine and pixmap scaled appear so good, today switched to Qt 5.4 re-builded my app and now pixmap appear with low quality and aliased.

      Here a piece of code used for one of the pixmap.

          QPixmap pixmapLogo(":/images/xxxxxx.png");
          pixmapLogo=pixmapLogo.scaled(getRelativeWidth(112), getRelativeHeight(89), Qt::KeepAspectRatio, Qt::SmoothTransformation);
          pixmapLogoItem = new QGraphicsPixmapItem();
          pixmapLogoItem->setPixmap(pixmapLogo);
          scene->addItem(pixmapLogoItem);
      

      Attachments

        1. iOS_image_problem.zip
          187 kB
        2. qt_5_3.PNG
          qt_5_3.PNG
          69 kB
        3. qt_5_4.PNG
          qt_5_4.PNG
          72 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            vestbo Tor Arne Vestbø
            jonesy Antonio Gabriele
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            5 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes