x64 Any CPU support

This commit is contained in:
Paddy Xu
2017-06-03 02:50:39 +03:00
parent 438781b7f7
commit 3101059b4d
32 changed files with 621 additions and 232 deletions

View File

@@ -33,7 +33,7 @@ namespace QuickLook.Plugin.ImageViewer
public void Prepare(string path, ContextObject context)
{
// ImageMagick want to have dcraw.exe
// set dcraw.exe for Magick.NET
Directory.SetCurrentDirectory(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location));
_imageSize = ImageFileHelper.GetImageSize(path) ?? Size.Empty;