multicolorfits.downsample_for_preview#
- multicolorfits.downsample_for_preview(arr, max_size=512, order=1)[source]#
Downsample a 2D or RGB image so its longest side is at most
max_size.Intended for interactive GUI / notebook previews only. Final exports and publications should use the full-resolution arrays.
Uses
skimage.transform.resizewith anti-aliasing when shrinking; returns the input unchanged if it already fits.