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

QTiffHandler::supportsOption(QImageIOHandler::Description) returns false even though the TIFF format supports comments

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.12.3
    • Image formats
    • None
    • All

    Description

      Even though the underlying TIFF format (as well as libtiff) support comments in the generated file (via TIFFTAG_IMAGEDESCRIPTION), the implementation of QTiffHandler::supportsOption() returns false for Description, resulting in any metadata added to the QImage via QImage::setText() to be lost when saving a QImage as TIFF.

      To be consistent with other image formats properly supporting saving the metadata as long as the format supports it, TIFF images should save that data as well.

      Attachments

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

        Activity

          People

            vgt Eirik Aavitsland
            aamann aamann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes