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

bits() and constBits() could mention padding bytes due to alignment

    XMLWordPrintable

Details

    Description

      scanLine() has a note about alignment:
      https://doc.qt.io/qt-5/qimage.html#scanLine

      This could be added to bits() and constBits() too that currently don't say much:
      https://doc.qt.io/qt-5/qimage.html#bits

      This can lead to surprises if one assumes it contains continuous pixel data.

      Attachments

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

        Activity

          People

            vgt Eirik Aavitsland
            poikelin Joni Poikelin
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes