mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-12 02:09:05 +00:00
we need to set the Source anyway
This commit is contained in:
@@ -35,10 +35,7 @@ namespace QuickLook.Plugin.ImageViewer
|
|||||||
private void LoadImage(string path)
|
private void LoadImage(string path)
|
||||||
{
|
{
|
||||||
if (Path.GetExtension(path).ToLower() == ".gif")
|
if (Path.GetExtension(path).ToLower() == ".gif")
|
||||||
{
|
|
||||||
AnimationBehavior.SetSourceUri(viewPanelImage, new Uri(path));
|
AnimationBehavior.SetSourceUri(viewPanelImage, new Uri(path));
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
using (var image = new MagickImage(path))
|
using (var image = new MagickImage(path))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user