Including allowing specifying number of tiles for each dimension, if for example it is known that the image will contain 16x16 sprites, but the size of the individual sprite is unknown.