Module image

Module image 

Source

Structsยง

ImageReadBuffer ๐Ÿ”’
Pixels
Immutable pixel iterator
SubImage
A View into another image
SubImageInner
The inner type of SubImage that implements GenericImage{,View}.

Enumsยง

ImageFormat
An enumeration of supported image formats. Not all formats support both encoding and decoding.

Traitsยง

AnimationDecoder
AnimationDecoder trait
GenericImage
A trait for manipulating images.
GenericImageView
Trait to inspect an image.
ImageDecoder
The trait that all decoders implement
ImageDecoderRect
Specialized image decoding not be supported by all formats
ImageEncoder
The trait all encoders implement

Functionsยง

decoder_to_vec ๐Ÿ”’
Reads all of the bytes of a decoder into a Vec. No particular alignment of the output buffer is guaranteed.
load_rect ๐Ÿ”’
Decodes a specific region of the image, represented by the rectangle starting from x and y and having length and width

Type Aliasesยง

DerefPixel ๐Ÿ”’
Alias to access Pixel behind a reference
DerefSubpixel ๐Ÿ”’
Alias to access Subpixel behind a reference