Skip to main content

render_sidecar_lqip

Function render_sidecar_lqip 

Source
pub fn render_sidecar_lqip(
    lqip: &Lqip,
    max_width: u32,
    max_height: u32,
) -> RgbaImage
Expand description

Render a stored sidecar record to a displayable placeholder, band-limited to the box being painted.

Delegates to render, so an unrecognized format_version or an undecodable payload yields the 1x1 solid dominant_color fill rather than a misrender.