Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Save image with whatever on the image
Forum Updated to NodeBB v4.3 + New Features

Save image with whatever on the image

Scheduled Pinned Locked Moved QML and Qt Quick
5 Posts 3 Posters 1.2k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    econtech
    wrote on last edited by
    #1

    HI,

    I Display an image in the qml window. I place two buttons on the image. I want to save the whole image with buttons.
    Is there any options in QT.

    Also I place an image on the loaded image and I want to save the whole image

    I struck with this problem. Any one help me.

    1 Reply Last reply
    0
    • V Offline
      V Offline
      Vincent007
      wrote on last edited by
      #2

      grabWindow and then cut the image grabbed.
      http://qt-project.org/doc/qt-5/qquickwindow.html#grabWindow

      1 Reply Last reply
      0
      • T Offline
        T Offline
        Tân Ngọc Đỗ
        wrote on last edited by
        #3

        Hello, with that method we only grap the top QML element and its children. If I want to save image for arbitrary QML element, what is the solution ?

        Thanks

        1 Reply Last reply
        0
        • V Offline
          V Offline
          Vincent007
          wrote on last edited by
          #4

          You can wait for qquickrendercontrol.

          1 Reply Last reply
          0
          • T Offline
            T Offline
            Tân Ngọc Đỗ
            wrote on last edited by
            #5

            Hope it release soon :)

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved