mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-10 17:29:08 +00:00
Merge branch 'master' into fluent
This commit is contained in:
@@ -33,18 +33,7 @@ namespace QuickLook.Plugin.ImageViewer.AnimatedImage
|
||||
|
||||
using (var image = new MagickImage(path))
|
||||
{
|
||||
switch (image.Orientation)
|
||||
{
|
||||
case OrientationType.RightTop:
|
||||
image.Rotate(90);
|
||||
break;
|
||||
case OrientationType.BottomRight:
|
||||
image.Rotate(180);
|
||||
break;
|
||||
case OrientationType.LeftBotom:
|
||||
image.Rotate(270);
|
||||
break;
|
||||
}
|
||||
image.AutoOrient();
|
||||
|
||||
animator.KeyFrames.Add(new DiscreteObjectKeyFrame(image.ToBitmapSource(), TimeSpan.Zero));
|
||||
animator.Duration = Duration.Forever;
|
||||
|
@@ -8,7 +8,7 @@
|
||||
<Editor_FontFamily>Consolas,Microsoft Yahei UI,Microsoft Yahei,SimSun</Editor_FontFamily>
|
||||
</zh-CN>
|
||||
<zh-TW>
|
||||
<Editor_FontFamily>Segoe UI,Microsoft JhengHei UI,Microsoft JhengHei,SimSun</Editor_FontFamily>
|
||||
<Editor_FontFamily>Consolas,Microsoft JhengHei UI,Microsoft JhengHei,MingLiU</Editor_FontFamily>
|
||||
</zh-TW>
|
||||
<ja-JP>
|
||||
<Editor_FontFamily>Consolas,Meiryo UI,MS UI Gothic,MS Gothic</Editor_FontFamily>
|
||||
|
Reference in New Issue
Block a user