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

An invalid number was provided.

Enums

The valid values for the bits per pixel of an image.

The format that an image can have.

The valid values for the quantum of an image.

Whether or not an XY image format is in bitmap or pixmap format.

Traits

Functions

Computes the number of bytes necessary to store the image with the given parameters.