Crate breadx_image

Crate breadx_image 

Source
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§

prelude

Structs§

Image
InvalidNumber
An invalid number was provided.

Enums§

BitsPerPixel
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.
XyFormatType
Whether or not an XY image format is in bitmap or pixmap format.

Traits§

AsyncDisplayExt
DisplayExt

Functions§

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