Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QQuickWindow::grabWindow() grabs the window limited by the monitor resolution
Forum Updated to NodeBB v4.3 + New Features

QQuickWindow::grabWindow() grabs the window limited by the monitor resolution

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 380 Views
  • 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.
  • D Offline
    D Offline
    davm
    wrote on last edited by
    #1

    After I grab the window using QQuickWindow::grabWindow() and then save it using QImage::save() I see that the actual saved image image's resolution is always limited by the current monitor's resolution. For example if I try to save qml screen with resolution 2400 x 1360 using monitor with 1920x1080 resolution I still get the PNG file with 1855x1056 resolution, but when I do the same using 4K monitor I get exactly the same qml's resolution for the saved PNG file - 2400 x 1360. I guess this is because the actual grabbed image can't be greater than the real screen (limited by the monitor resolution). Am I right?
    Any input would be appreciated.

    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