[poppler] [PATCH] qt-bindings renderToImage

Albert Astals Cid aacid at kde.org
Sun Jan 1 08:18:07 PST 2006


A Diumenge 01 Gener 2006 13:43, Wilfried Huss va escriure:
> Hi,
Hi

> I'm currently working on multithreading support for KViewShell. And since
> Qt does not allow the use of QPixmaps outside of the GUI-thread I need a
> little change to the poppler qt bindings.
Well, AFAIK is a X server limitation and not a Qt one, but i know what you 
mean ;-)

> Attached is a patch that adds a renderToImage() function that returns a
> QImage. The patch leaves the renderToPixmaps() functions intact (I don't
> know if you already keep backwards compability), but they are redundant.
Could you send the patch for Qt4 bindings also?

Another thing is the docu seems a bit strange, i mean "It uses the "Splash" 
rendering engine that is included in the Poppler distribution."? I'd reduce 
it only to "It uses the "Splash" rendering engine" or "It uses the "Splash" 
renderer", the poppler part is already obvious since it's the poppler 
documentation ;-)

Albert

> Greetings,
> Wilfried Huss.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/poppler/attachments/20060101/5b520aa8/attachment.pgp


More information about the poppler mailing list