Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. How can i make image snapshot of web page ?
Forum Updated to NodeBB v4.3 + New Features

How can i make image snapshot of web page ?

Scheduled Pinned Locked Moved Qt WebKit
3 Posts 3 Posters 1.6k 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.
  • U Offline
    U Offline
    umen242
    wrote on last edited by
    #1

    Hello all
    i need to implement function that takes snapshot of current loaded web page and make image out of it
    as it shown with full width and height of the web page
    where to start ?

    1 Reply Last reply
    0
    • G Offline
      G Offline
      guziemic
      wrote on last edited by
      #2

      Hi,

      I think you should start in "QWebPage":http://qt-project.org/doc/qt-4.8/qwebpage.html#details description. There is some example how to make thumbnail and paint page on QImage.

      Hope it help.

      Best regards,

      1 Reply Last reply
      0
      • M Offline
        M Offline
        Macro
        wrote on last edited by
        #3

        By Using, mainFrame->render function, you can get screenshot of the entire web page

        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