COM is really a nightmare... Use managed solution (SharpCompress) instead

This commit is contained in:
Paddy Xu
2017-05-01 12:09:16 +03:00
parent e6b7e14bba
commit dbafec9cb8
20 changed files with 82 additions and 4390 deletions

View File

@@ -33,14 +33,14 @@ namespace QuickLook.Plugin.ImageViewer
}
}
public void BoundViewSize(string path, ViewerObject context)
public void BoundViewSize(string path, ContextObject context)
{
_imageSize = ImageFileHelper.GetImageSize(path);
context.SetPreferredSizeFit(_imageSize, 0.8);
}
public void View(string path, ViewerObject context)
public void View(string path, ContextObject context)
{
_ip = new ImagePanel(path);