Skip to main content

mosaic

Function mosaic 

pub fn mosaic(pictures: &[&[u8]]) -> Option<Vec<u8>>
Expand description

A 2×2 mosaic of up to four pictures, as a PORTRAIT_SIDE square JPEG: a playlist’s cover from its tracks’ artwork. One picture fills the whole square; two or three repeat to fill the quarters. None when none decode.