<div dir="ltr">Hi,<div>We are having some trouble opening some .ndpi images in our medical viewer. We are trying to open a file with the following characteristics:</div><div><br></div><div>hamamatsu.AHEX[0]     0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000<br>hamamatsu.AHEX[0].fluorescence    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000<br>hamamatsu.AHEX[0].ploidy  0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000<br>hamamatsu.AHEX[1] 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000<br>hamamatsu.AHEX[1].fluorescence    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000<br>hamamatsu.AHEX[1].ploidy  0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000<br>hamamatsu.AHEX[2] 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000<br>hamamatsu.AHEX[2].fluorescence    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000<br>hamamatsu.AHEX[2].ploidy  0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000<br>hamamatsu.Created 2019/07/12<br>hamamatsu.Macro.S/N 000903<br>hamamatsu.NDP.S/N       000128<br>hamamatsu.Objective.Lens.Magnificant    35.16<br>hamamatsu.PSHV   100<br>hamamatsu.PSHV.10x 100<br>hamamatsu.PSHV.40x 100<br>hamamatsu.PSHV.ploidy      100<br>hamamatsu.PSHV.ploidy.10x  100<br>hamamatsu.Product  C13239-01<br>hamamatsu.Reference  A-220000004-A-01-001<br>hamamatsu.SourceLens      20<br>hamamatsu.Updated   2021/01/18<br>hamamatsu.XOffsetFromSlideCentre    5617940<br>hamamatsu.YOffsetFromSlideCentre       -727733<br>hamamatsu.YRNP[0]      0,0,0,0<br>hamamatsu.YRNP[1]      0,0,0,0<br>hamamatsu.YRNP[2]      0,0,0,0<br>hamamatsu.calibration.version  3519<br>hamamatsu.ccd.height      0<br>hamamatsu.ccd.width  8449<br>hamamatsu.ccd.width.ploidy        8449<br>hamamatsu.coarse.focus.pitch      10000<br>hamamatsu.colorfilterID  0<br>hamamatsu.cube.kind  0<br>hamamatsu.exposure.barcode.macro     740<br>hamamatsu.exposure.slide.darkfield.macro   10<br>hamamatsu.exposure.slide.macro      20<br>hamamatsu.fine.focus.pitch  250<br>hamamatsu.focalplane.leftbottom    88914,689278,87825<br>hamamatsu.focalplane.lefttop        88914,489278,88404<br>hamamatsu.focalplane.rightbottom    488914,689278,86827<br>hamamatsu.focalplane.righttop      488914,489278,87429<br>hamamatsu.lane.shift.amount        -1<br>hamamatsu.roi.barcode.macro 948,253,1272,672<br>hamamatsu.roi.slide.macro     59,257,1264,668<br>hamamatsu.slant.leftbottom     0,0,0<br>hamamatsu.slant.lefttop  0,0,0<br>hamamatsu.slant.rightbottom      0,0,0<br>hamamatsu.slant.righttop 0,0,0<br>hamamatsu.slide.tickness 0<br>hamamatsu.stage.center       178914,589278<br>hamamatsu.system.version 1.0<br>hamamatsu.target.white.intensity   235<br>hamamatsu.valid.DDKP       0<br>hamamatsu.valid.DLTP 0<br>hamamatsu.valid.DSHP 0<br>hamamatsu.variable.exposuretime      0<br>hamamatsu.zCoarse[0] 0,0,0,0<br>hamamatsu.zCoarse[1]   0,0,0,0<br>hamamatsu.zCoarse[2]   0,0,0,0<br>hamamatsu.zFine[0]     0,0,0,0<br>hamamatsu.zFine[1]     0,0,0,0<br>hamamatsu.zFine[2]     0,0,0,0<br>openslide.level-count  8<br>openslide.level[0].downsample        1<br>openslide.level[0].height    53504<br>openslide.level[0].tile-height   8<br>openslide.level[0].tile-width        1920<br>openslide.level[0].width  69120<br>openslide.level[1].downsample    2<br>openslide.level[1].height    26752<br>openslide.level[1].tile-height   4<br>openslide.level[1].tile-width        960<br>openslide.level[1].width   34560<br>openslide.level[2].downsample    4<br>openslide.level[2].height    13376<br>openslide.level[2].tile-height   8<br>openslide.level[2].tile-width        480<br>openslide.level[2].width   17280<br>openslide.level[3].downsample    8<br>openslide.level[3].height    6688<br>openslide.level[3].tile-height    4<br>openslide.level[3].tile-width        240<br>openslide.level[3].width   8640<br>openslide.level[4].downsample     16<br>openslide.level[4].height   3344<br>openslide.level[4].tile-height    8<br>openslide.level[4].tile-width        120<br>openslide.level[4].width   4320<br>openslide.level[5].downsample     32<br>openslide.level[5].height   1672<br>openslide.level[5].tile-height    4<br>openslide.level[5].tile-width        60<br>openslide.level[5].width    2160<br>openslide.level[6].downsample     64<br>openslide.level[6].height   836<br>openslide.level[6].tile-height     2<br>openslide.level[6].tile-width        30<br>openslide.level[6].width    1080<br>openslide.level[7].downsample     128<br>openslide.level[7].height  418<br>openslide.level[7].tile-height     1<br>openslide.level[7].tile-width        15<br>openslide.level[7].width    540<br>openslide.mpp-x    0.44006336912515404<br>openslide.mpp-y    0.44006336912515404<br>openslide.objective-power  20<br>openslide.quickhash-1       edd079959828875e175c886ffeb8d11cd2067b744d461333367a6afe4ac8d6df<br>openslide.vendor      hamamatsu<br>tiff.DateTime        2022:09:21 13:27:41<br>tiff.Make  Hamamatsu<br>tiff.Model   C13239-01<br>tiff.ResolutionUnit  centimeter<br>tiff.Software       NDP.scan 3.3.2<br>tiff.XResolution        22724<br>tiff.YResolution 22724<br></div><div><br></div><div>The following is the code we are using to test the performances (using the openslide java wrapper):</div><div>```</div><div>File file = new File("C:/path/to/file");</div><div>OpenSlide slide = new OpenSlide(file);</div><div>long t0 = System.currentTimeMillis();</div><div>slide.createThumbnailImage(512);</div><div>System.out.println("thumb extracted in: " + (System.currentTimeMillis() - t0));</div><div>```</div><div>Trying to compute said thumbnail from a local file on an SSD it takes around 2 seconds, while accessing it from a remote HDD archive it takes around 70 seconds. Just as a reference, doing the same test with an .svs it take at most 700 ms on the remote HDD.</div><div><br></div><div>Is this image strange in any way? Is there anything we can do to improve the reading performance of openslide?</div><div><br></div><div>Thanks a lot!</div></div>