pub fn split_tiles(pixels: &[u8], d: Dims) -> Vec<Tile>
Split an RGB8 pixel buffer into row-major Tiles (public: CLI uses the same tiling as encoder/decoder/tests — one definition of truth).