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. HTML screen capture quality
Forum Updated to NodeBB v4.3 + New Features

HTML screen capture quality

Scheduled Pinned Locked Moved Qt WebKit
1 Posts 1 Posters 712 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.
  • L Offline
    L Offline
    lycono
    wrote on last edited by
    #1

    I've written a simple html screen capture based on the example in the Qt docs. It works very well except for varying image quality on different distributions when images in the html are re-sized.

    On Ubuntu 12.04 desktop and CentOS 6.3 no matter what re-sizing is done on images referenced from the html, the capture looks excellent. In the case of CentOS we're using Xvfb as it's headless.

    However, on Ubuntu 12.04 server (also using Xvfb), any significantly re-sized image referenced in the html comes out with jagged lines unless they are straight up or across. Qt5 is installed.

    The same html and images are used in every case.

    I tried phantomjs 1.9.8 on Ubuntu server and the captures come out with excellent quality, identical to desktop and CentOS. As far as I know phantomjs does not require a frame buffer (so it doesn't use Xvfb). This says to me that there is something with Xvfb specifically on Ubuntu server causing the poor image quality (since Xvfb on CentOS works just fine).

    Does anyone have any clue as to what might be going on?

    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