From 38cffa1874176c1f8a137472ee0692f6782dbede Mon Sep 17 00:00:00 2001 From: Paddy Xu Date: Sun, 3 May 2020 22:43:18 +0300 Subject: [PATCH] Improve image scaling quality --- .../QuickLook.Plugin.ImageViewer/ImagePanel.xaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/QuickLook.Plugin/QuickLook.Plugin.ImageViewer/ImagePanel.xaml.cs b/QuickLook.Plugin/QuickLook.Plugin.ImageViewer/ImagePanel.xaml.cs index 5674bbd..9ea7c6a 100644 --- a/QuickLook.Plugin/QuickLook.Plugin.ImageViewer/ImagePanel.xaml.cs +++ b/QuickLook.Plugin/QuickLook.Plugin.ImageViewer/ImagePanel.xaml.cs @@ -52,7 +52,7 @@ namespace QuickLook.Plugin.ImageViewer private MetaProvider _meta; private Visibility _metaIconVisibility = Visibility.Visible; private double _minZoomFactor = 0.1d; - private BitmapScalingMode _renderMode = BitmapScalingMode.NearestNeighbor; + private BitmapScalingMode _renderMode = BitmapScalingMode.Linear; private bool _showZoomLevelInfo = true; private BitmapSource _source; private double _zoomFactor = 1d;