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

SpriteSequence does not apply smooth

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.15.0 RC2
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      All platforms
    • Platform/s:
      All

      Description

      https://code.woboq.org/qt5/qtdeclarative/src/quick/items/qquickspritesequence.cpp.html

       

      The SpriteSequence does not remove smoothing when setting it to false in an QML, I suspect it's because it is inheriting the smooth value from the item default and does not have its own properties like the QtImage does..

      https://code.woboq.org/qt5/qtdeclarative/src/quick/items/qquickimage.cpp.html

      This bug occurs on all platforms and has been occuring for half a decade now,

      https://forum.qt.io/topic/56269/spritesequence-disable-smooth-scaling/2

       

      It also seems unintuitive as you would imagine sprites would naturally have no smoothing on them given the nature of pixel art.

       

      Attached is an image showing the middle player is blurry because it is a sprite sequence, while the two sprites next to it is not blurry.

       

      Here you can see the felgo team addressing the issue with a work around of using gifs..

      https://felgo.com/developers/forums/t/keep-pixelation-for-sprites-like-smooth-disabled

        Attachments

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

          Activity

            People

            Assignee:
            qt.team.quick.subscriptions Qt Quick and Widgets Team
            Reporter:
            monckey100 monckey100
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes