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

Add QImageCleanupFunction getter/setter to QImage

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • None
    • Image formats, Other
    • None

      Please add getters and setters to the QImage class to get and set the QImageCleanupFunction and it's void* cleanupInfo.

      Right now it is only possible to set a cleanup callback when creating a QImage from raw pixel data. In some cases it can be desirable for a QImage-emitting class, to be notified when the last reference to an emitted QImage 'dies'.

      For example, a producer that emits many QImages at a fixed interval and has multiple consumers connecting to it. In this case the producer might want to know when all it's consumers have processed the emitted QImage.

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

            vgt Eirik Aavitsland
            nohup Tom Wimmenhove
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes