Skip to main content

Module image

Module image 

Source
Available on crate feature images only.
Expand description

Explicit request-owned images and frame sequences.

Header inspection enforces the frozen Python 0.12 limits; it does not decode pixels or prove that a file is renderable. In particular, CRCs and compressed payloads are not verified. No resizing, EXIF correction, or implicit I/O occurs. The hosted service may have stricter limits (its 2026-10-17 documentation says 280 px minimum sides); image acceptance here is not service acceptance.

Structs§

Assets
Request-owned association of references and images. Unused images are not sent.
Image
Immutable owned image bytes with a stable, process-unique reference.
ImageReference
One referenced image, with every occurrence accounted for.

Enums§

ImageDiagnostic
Nonfatal metadata observations; the original bytes remain unchanged.
ImageFormat
Supported still-image encoding.

Constants§

MAX_AREA
Maximum pixel area.
MAX_FILE_BYTES
Maximum bytes of one image.
MAX_REQUEST_BYTES
Maximum image bytes per request, counting every use.
MAX_SIDE
Maximum side length in pixels.
MIN_AREA
Minimum pixel area.
MIN_SIDE
Frozen minimum side, subject also to the minimum area.

Functions§

frames
Build a frame array in caller-supplied oldest-first order and attach its images.