Closed jbarth-ubhd closed 3 years ago
oops trace
\< debug
…
Good catch, @jbarth-ubhd. FYI, here is the log output that I was looking for:
12:54:12.483 [qtp1188401255-33] TRACE e.i.l.c.p.c.TIFFImageReader - Detected 10 subimage(s)
12:54:12.483 [qtp1188401255-33] TRACE e.i.l.c.p.c.TIFFImageReader - Subimage 10: 51x38 - too small
12:54:12.483 [qtp1188401255-33] TRACE e.i.l.c.p.c.TIFFImageReader - Subimage 9: 102x77 - too small
12:54:12.483 [qtp1188401255-33] TRACE e.i.l.c.p.c.TIFFImageReader - Subimage 8: 205x155 - too small
12:54:12.483 [qtp1188401255-33] TRACE e.i.l.c.p.c.TIFFImageReader - Subimage 7: 411x311 - too small
12:54:12.483 [qtp1188401255-33] TRACE e.i.l.c.p.c.TIFFImageReader - Subimage 6: 822x622 - too small
12:54:12.484 [qtp1188401255-33] TRACE e.i.l.c.p.c.TIFFImageReader - Subimage 5: 1644x1244 - too small
12:54:12.484 [qtp1188401255-33] TRACE e.i.l.c.p.c.TIFFImageReader - Subimage 4: 3289x2488 - too small
12:54:12.484 [qtp1188401255-33] TRACE e.i.l.c.p.c.TIFFImageReader - Subimage 3: 6578x4977 - too small
12:54:12.484 [qtp1188401255-33] TRACE e.i.l.c.p.c.TIFFImageReader - Subimage 2: 13157x9954 - too small
12:54:12.484 [qtp1188401255-33] TRACE e.i.l.c.p.c.TIFFImageReader - Subimage 1: 26315x19908 - fits! (0x reduction factor)
12:55:24.761 [qtp1188401255-33] DEBUG e.i.l.c.p.c.TIFFImageReader - Acquiring region 24576,11264/1024x1024 from 26315x19908 image (96x96 tile size)
I think this is a floating-point comparison bug and subimage 2 should be chosen instead. I will push a fix shortly.
I've tried our manifest https://heidicon.ub.uni-heidelberg.de/manifest/iiif/1139791/manifest.json (image in
sequences[0].canvases[1]
) with mirador viewer, and one of the requests isWhy does cantaloupe scale? The image in the second tiff directory has the wanted scale, and the mirador request perfectly matches the 256×256 tiles in this image.