The scanning resolution sets how much information the virtual slide holds. At 40x with 0.25 µm pixels, the Nyquist limit allows detection of features down to 0.5 µm, enough for nuclear morphology and subcellular localization. At 20x with 0.5 µm pixels, features below 1 µm can't be resolved. Match the choice to the analysis: nuclear detection and biomarker quantification work at 20x, while subcellular localization, mitotic figure identification and nuclear grading may require 40x.
Most navigation needs very little resolution ("where is the tumor?"), while detailed analysis needs a lot ("what does this nucleus look like?"). The pyramid takes advantage of that: it computes the low-resolution views ahead of time instead of on the fly, trading storage space for viewing speed. Neighboring levels differ by exactly 2× in linear resolution, which gives the standard 2× zoom steps.
Virtual slide formats use lossy (JPEG) or lossless (JPEG2000, LZW) compression. Lossy compression shrinks files 5-10× but introduces artifacts, most visibly blocks around sharp edges at high compression. Lossless compression preserves the exact pixel values that intensity measurement and spectral unmixing depend on, while moderate JPEG compression is acceptable for morphological assessment and detection. Pawley's advice for data intended for quantitative analysis is short: "avoid lossy compression."
The pyramid keeps a zoomed-out view for navigation and full detail for analysis. Scanning at 20x or 40x determines the finest features you can detect. Compression saves storage, but lossy compression introduces artifacts that can affect quantitative measurement, so lossless compression is preferred for analysis.