pub(crate) fn n_block_cols( image_size: ImageSize, block_size: BlockSize, ) -> usize
Computes the number of block columns for the given image and block sizes.