pub fn backgrounds(
rgba: &[u8],
image_width: usize,
image_height: usize,
pane: Rect,
) -> (Vec<u32>, Vec<u32>)Expand description
One sampled row/column per background axis, matching backgrounds(): the modal pixel sampled every
max(1, floor(pane.dim / 128)) columns/rows across the pane.