The only fact I know is that XImage
is stored on the client side and the pixmaps are stored on the server side. Is it so simple?
Then what is XY
and Z Pixmaps
and why X
needs so many types of image formats?
Why there is no XY
and Z Images
?
And what is Bitmap in the context of Xlib
and why there is a function XCreateBitmapFromData
that returns Pixmap handle? (or pointer? or structure?)
From the X11 protocol specification:
The data for a pixmap is said to be in XY format if it is organized as a set of bitmaps representing individual bit planes, with the planes appearing from most-significant to least-significant in bit order.
Which means for an RGB image you have all the red channel data followed by the green and then blue instead of the more traditional RGB triplets (ZPixmap).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With