Expand description
A library for dealing with the X11 image format.
The X11 image format is the format of images accepted by the X11 server. It is relatively tricky to manipulate; this crate exists to provide generic types to make manipulating and sending images significantly easier.
Modules§
Structs§
- Image
- Invalid
Number - An invalid number was provided.
Enums§
- Bits
PerPixel - The valid values for the bits per pixel of an image.
- Format
- The format that an image can have.
- Quantum
- The valid values for the quantum of an image.
- XyFormat
Type - Whether or not an XY image format is in bitmap or pixmap format.
Traits§
Functions§
- storage_
bytes - Computes the number of bytes necessary to store the image with the given parameters.