Skip to content

Scale sample images based on zoom, hide images out of view

Stuart Fisher requested to merge sampleimage-scaling into main

Significantly improve the performance of the 2d view for mosaics and sample images with large cameras:

  • downscale images based on zoom (like tiled view). Once generated the scaled images are cached browser side, so subsequent zoom in / out should be faster
  • remove images from display when they are outside the viewport

should drastically reduce the memory demand

Edited by Stuart Fisher

Merge request reports

Loading