pub const DHASH_WIDTH: u32 = 9; // 9u32
dHash samples (WIDTH+1)×HEIGHT so adjacent horizontal diffs yield 64 bits.