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

libqtiff image plugin does not set RowsPerStrip tag

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.5.0
    • Fix Version/s: 5.11.1
    • Component/s: Image formats
    • Labels:
      None

      Description

      The TIFF plugin generates images without the RowsPerStrip tag defined. This causes read issues with most TIFF readers in the willd, in particular when the LZW compression is enabled: see https://issues.qgis.org/issues/18274

      A reasonable solution is to create stripped image by using the chunk height that is used to compress the data.

      The attached patch implements that

        Attachments

        1. tiff_rowsperstrip.patch
          6 kB
        2. new.tiff
          361 kB
        3. old.tiff
          233 kB

          Issue Links

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

            Activity

              People

              Assignee:
              vgt Eirik Aavitsland
              Reporter:
              rouault Even Rouault
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes