[Xcb] Best way to load a png/jpeg file when using XCB?

Michael Stapelberg michael+xcb at stapelberg.de
Sun Jul 4 09:53:27 PDT 2010

Hi Vincent,

Thanks for your answer.

Excerpts from Vincent Torri's message of 2010-07-04 18:40:04 +0200:
> 1) A full framework, using XCB, which will read / decompress your image 
> file to something that suits your needs
A library which loads the image and provides me data I can then draw on a
pixmap would be the best way, yes. I think an imlib2 version which works
with xcb would be a pretty good way.

> 2) or just some code that read / decompress the image file, and after 
> that, you put the data in an xcb_image
As long as the code is not too long (say, 100-200 SLOC) that would also
be ok.

Best regards,

More information about the Xcb mailing list