const DISPLAY_SCALE_FACTOR: f32 = 1.5;Expand description
Scale factor for HiDPI displays - decode at higher resolution than display size for better quality on high-DPI screens. 1.5x provides good balance between quality and memory usage and also prevets re-decoding on small windows size adjustments.