[−][src]Module x11rb::image
Utility code for working with images.
This module contains the Image
struct which represents an arbitrary image in
ImageFormat::ZPixmap
. If you do not know what ZPixmap
means, then rest assured that you do
not want to know the details. It suffices to know that the values of the individual pixels are
saved one after another in memory.
An Image
can be converted to a different internal representation. Image::native
converts it to the native format of the X11 server. These conversions do not change the actual
content of the image, but only the way that it is laid out in memory (e.g. byte order and
padding). Specifically, there is no support for converting an image to another depth
.
Structs
ColorComponent | The description of a single color component. |
Image | The description of an image. |
PixelLayout | A collection of color components describing the red, green, and blue components of a pixel. |
Enums
BitsPerPixel | The number of bits required to store one pixel. |
ScanlinePad | The padding of scanlines. |