Hello again, Am 04.07.2015 um 01:58 schrieb Albert Astals Cid: > But i guess feeding that to QImage won't be nice since it basically means > reconstructing a XRGB8 buffer with the RGB8 buffer and the alpha channel, is > that right?
Exactly, you still get the RGB8 and alpah channel buffers from Splash, but you really have to convert RGB8 to XBGR8 again to make use of the alpha channel so it seems more sensible to render within XBGR8 from the beginning if you intend you have an alpha channel available to QImage in the end. (As just inserting the alpha channel into XBGR8 images is almost as slow as RGB8 rendering, I cannot imagine rendering RGB8 and then transfering this into a ARGB32 QImage using the additional alpha channel being any faster than rendering XBGR8 in the first place?) Best regards, Adam.
signature.asc
Description: OpenPGP digital signature
_______________________________________________ poppler mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/poppler
