mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-22 01:24:52 +00:00
fix Exif rotation in ImageViewer; WIP on archive viewer
This commit is contained in:
@@ -24,9 +24,13 @@ namespace QuickLook.Plugin.LastResort
|
||||
|
||||
public void DisplayInfo(string path)
|
||||
{
|
||||
var icon = IconHelper.GetBitmapFromPath(path, IconHelper.IconSizeEnum.ExtraLargeIcon).ToBitmapSource();
|
||||
var icon =
|
||||
WindowsThumbnailProvider.GetThumbnail(path, 256, 256,
|
||||
ThumbnailOptions.ScaleUp);
|
||||
|
||||
image.Source = icon;
|
||||
image.Source = icon.ToBitmapSource();
|
||||
|
||||
icon.Dispose();
|
||||
|
||||
var name = Path.GetFileName(path);
|
||||
filename.Content = string.IsNullOrEmpty(name) ? path : name;
|
||||
|
Reference in New Issue
Block a user