Upgrade Magick.NET packages

This commit is contained in:
Paddy Xu
2020-07-05 12:33:06 +02:00
parent fe44021590
commit b26d00bac1
4 changed files with 13 additions and 6 deletions

View File

@@ -111,7 +111,7 @@ namespace QuickLook.Plugin.ImageViewer.AnimatedImage.Providers
mi.Density = new Density(DpiHelper.DefaultDpi * DpiHelper.GetCurrentScaleFactor().Horizontal,
DpiHelper.DefaultDpi * DpiHelper.GetCurrentScaleFactor().Vertical);
var img = mi.ToBitmapSource(BitmapDensity.Use);
var img = mi.ToBitmapSourceWithDensity();
img.Freeze();
return img;