mapslice
mapslice copied to clipboard
Request - Tile size NOT power of 2
Hi, my Panorama images are 8000 x 4000, so I think it would make sense to have 500x500 tiles?
This size is the standard output of the new Iris360 Google Street View Camera.
To be perfectly honest: I don't remember why there was a ^2 restriction on the file size but I remember that it was part of the spec in the map-viewing software and in order to ensure that you can use the pictures in the viewing software I added this restriction. I think one particular problem lies in half-pixels. (rounding errors when stitching together the images later).
Do you want to provide a Pull Request where you could show how you would implement this? You could speed up implementing this by looking up the viewer software and see whether they support tiles in non-power-2 sizes.