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

Provide option for saving Qml Canvas to a QImage

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • 6.5.0 RC
    • Quick: Other
    • None
    • All

    Description

      At the moment we can save Qml Canvas only to a data buffer or to a file (https://doc.qt.io/qt-6/qml-qtquick-canvas.html#save-method).
      A method which allows to save the canvas to a QImage would be useful. This could be implemented similar to the grabToImage function: https://doc.qt.io/qt-5/qml-qtquick-item.html#grabToImage-method

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            Harald Meyer Harald Meyer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes