Hi there,

I just started to code with the Xlib/xcb libraries, and my goal is to simply have pictures drawn on a window, for I am to make an image viewer
So far so good, however I noticed two different directions in their tutorials, the first is to use a XPixmap with the CopyArea call and the second is to use a XImage and use a PutImage call, the latter also has shm extension support.
I am confused as to which to use, and what are the advantages of each?