Modulesยง
- snapshot ๐
Structsยง
- Image
Frame - Image
Frame View - A non-owning reference to the data of an ImageFrame
- Image
Metadata - Raster
Image - Snapshot
- Represents image bitmap with metadata, usually as snapshot of canvas
Enumsยง
- Alpha
- Cors
Status - Whether this response passed any CORS checks, and is thus safe to read from in cross-origin environments.
- Encoded
Image Type - Filter
Quality - Generic
Image ๐Decoder - Multiply
- Pixel
Format - Snapshot
Alpha Mode - Snapshot
Data - Snapshot
Pixel Format
Functionsยง
- clip
- compute_
rgba8_ byte_ length_ if_ within_ limit - Computes image byte length, returning None if overflow occurred or the total length exceeds the maximum image allocation size.
- copy_
rgba8_ image - Copies the rectangle of the source image to the destination image.
- decode_
animated_ ๐image - decode_
static_ ๐image - detect_
image_ format - flip_
y_ rgba8_ image_ inplace - Flips the source image vertically in place.
- generic_
transform_ inplace - is_bmp ๐
- is_gif ๐
- is_ico ๐
- is_jpeg ๐
- is_png ๐
- is_webp ๐
- load_
from_ memory - make_
decoder ๐ - multiply_
u8_ color - Returns a*b/255, rounding any fractional bits to nearest integer to reduce the loss of precision after multiple consequence alpha (un)premultiply operations.
- rgba8_
byte_ swap_ and_ premultiply_ inplace - rgba8_
byte_ swap_ colors_ inplace - rgba8_
get_ rect - rgba8_
premultiply_ inplace - Returns true if the pixels were found to be completely opaque.
- scale_
rgba8_ image - Scales the source image to the required size, performing sampling filter algorithm.
- transform_
inplace - unmultiply_
inplace