pub fn depth(w: u32, h: u32) -> u8
How many levels below level 0 a w × h image has: halving stops at 1×1.
w × h