mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-13 11:09:06 +00:00
abstract plugin interface
This commit is contained in:
@@ -83,6 +83,7 @@ namespace QuickLook.Plugin.ImageViewer.AnimatedImage
|
||||
|
||||
context.DrawImage(rawFrame, frameInfo.Rect);
|
||||
}
|
||||
|
||||
var bitmap = new RenderTargetBitmap(
|
||||
fullImage.PixelWidth, fullImage.PixelHeight,
|
||||
Math.Floor(fullImage.DpiX), Math.Floor(fullImage.DpiY),
|
||||
@@ -186,6 +187,7 @@ namespace QuickLook.Plugin.ImageViewer.AnimatedImage
|
||||
if (value != null)
|
||||
return (T) value;
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user