#[non_exhaustive]pub struct Supplements {
pub pyramid: bool,
pub gain_map: bool,
pub depth_map: bool,
pub segmentation_mattes: bool,
pub auxiliary: bool,
}Expand description
Supplemental content that accompanies the primary image(s).
These are not independent viewable images — they modify or augment the primary content. Each supplement type implies a distinct access pattern and a future accessor trait.
Populated during probe. May be incomplete from probe() (cheap) and
more complete from probe_full() (expensive).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.pyramid: boolReduced-resolution versions (image pyramid, thumbnails).
TIFF pyramids, HEIF thumbnails, JPEG JFIF thumbnails.
gain_map: boolHDR gain map for SDR/HDR tone mapping.
JPEG Ultra HDR (ISO 21496-1), AVIF gain map, JXL gain map, HEIF gain map.
depth_map: boolDepth map (portrait mode, 3D reconstruction).
HEIF depth maps, Google Camera depth in JPEG, AVIF depth auxiliary.
segmentation_mattes: boolSegmentation mattes (portrait effects, hair, skin, teeth, glasses, sky).
iPhone HEIC files with portrait mode or semantic segmentation.
auxiliary: boolOther auxiliary images not covered by named fields.
Alpha planes stored as separate images (HEIF), transparency masks (TIFF), vendor-specific auxiliary data.
Trait Implementations§
Source§impl Clone for Supplements
impl Clone for Supplements
Source§fn clone(&self) -> Supplements
fn clone(&self) -> Supplements
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more