Re: [Interest] Using Qt Webengine to render to an image

2016-08-26 Thread Kevin Mcintyre
I do using pyqt. Sometimes it's necessary to use QWebChannel to set additional params like clipping properties. class App(QApplication): def initCapture(self): self.capture = True self.opengl = None def toImage(self, location = None): png = '/tmp/capture.png'

[Interest] Using Qt Webengine to render to an image

2016-08-26 Thread Boudewijn Rempt
Hi, I'm looking into ways to render complex text with opentype features, complex scripts and so on. Web engines support that already, so I was wondering whether someone has already tried to make qtwebengine(page) render to a QImage instead of a widget. -- Boudewijn Rempt | http://www.krita.org,