@jax-data-science/sci-image-visualizer 0.2.6 → 0.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -16392,6 +16392,14 @@ class OpenSeadragonVisualizerService extends BaseStoreVisualizer {
16392
16392
  // crisp nearest-neighbour blocks).
16393
16393
  minZoomImageRatio: 0.01,
16394
16394
  maxZoomPixelRatio: 20,
16395
+ // Switch to a finer pyramid level as soon as the current one would be
16396
+ // upscaled at all. OSD's default (0.5) tolerates displaying a level at up
16397
+ // to 2x magnification before fetching the next, which reads as a soft
16398
+ // image that abruptly sharpens when the threshold is crossed. At 1 the
16399
+ // displayed level always has at least one tile pixel per screen pixel, so
16400
+ // the only visible pixellation is past 1:1 - where the blocks are genuine
16401
+ // source pixels (paired with imageSmoothingEnabled=false).
16402
+ minPixelRatio: 1,
16395
16403
  // Wait for the view to settle before pulling new tiles (less churn).
16396
16404
  immediateRender: false,
16397
16405
  animationTime: 0.4,