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

libqtiff image plugin does not set RowsPerStrip tag

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.11.1
    • 5.5.0
    • Image formats
    • 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. new.tiff
          361 kB
        2. old.tiff
          233 kB
        3. tiff_rowsperstrip.patch
          6 kB

        Issue Links

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

          Activity

            People

              vgt Eirik Aavitsland
              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