Inconsistency of height of tile images
2SC1815J opened this issue · 2 comments
In some cases, you can get inconsistent scaled tile images.
Please see the right bottom corner of the captured images.
tileSize: default
http://mejackreed.github.io/Leaflet-IIIF/examples/?url=https://iiif.dl.itc.u-tokyo.ac.jp/repo/iiif-img/155256/info.json
tileSize: 1024
https://rawgit.com/2SC1815J/ed53d45d04742a52ae782cad1ef399e1/raw/0e6fe38f2353af66b1063fd7254c84cef437b316/iiif-example.html
(Image courtesy of the University of Tokyo General Library - “Kunshujou”)
These are displaying https://iiif.dl.itc.u-tokyo.ac.jp/repo/iiif-img/155256/info.json (width: 8317, height: 5479).
Leaflet-IIIF will try to get, for example,
https://iiif.dl.itc.u-tokyo.ac.jp/repo/iiif-img/155256/0,0,8192,5479/1024,/0/default.jpg
https://iiif.dl.itc.u-tokyo.ac.jp/repo/iiif-img/155256/8192,0,125,5479/16,/0/default.jpg
The IIIF image server returns 1024 x 684 px and 16 x 701 px images, these heights differ.
If you set tileSize smaller, this issue will be solved, is there any other solution?
Thanks for posting this issue @2SC1815J . I haven't had time yet to look into this further, but this does seem like an interesting bug that I have not seen before. Hopefully I can get a chance to look at this week.
Any news on this?