better NConvert decoding

This commit is contained in:
Paddy Xu
2018-09-02 14:09:01 +03:00
parent e4db93704e
commit 187fe2649b
3 changed files with 12 additions and 5 deletions

View File

@@ -88,7 +88,7 @@ namespace QuickLook.Plugin.ImageViewer
context.ViewerContent = _ip;
context.Title = size.IsEmpty
? $"{Path.GetFileName(path)}"
: $"{Path.GetFileName(path)} ({size.Width}×{size.Height})";
: $"{size.Width}×{size.Height}: {Path.GetFileName(path)}";
_ip.ImageUriSource = new Uri(path);
}