diff --git a/OpenSlideSharp.Common.props b/OpenSlideSharp.Common.props index 220240c..4284970 100644 --- a/OpenSlideSharp.Common.props +++ b/OpenSlideSharp.Common.props @@ -3,7 +3,6 @@ - 1.0.1.4 IOL0ol1 Copyright © 2021-2022 MIT diff --git a/OpenSlideSharp.sln b/OpenSlideSharp.sln index b3bd159..c226c8b 100644 --- a/OpenSlideSharp.sln +++ b/OpenSlideSharp.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.30406.217 +# Visual Studio Version 17 +VisualStudioVersion = 17.4.33110.190 MinimumVisualStudioVersion = 15.0.26124.0 Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{6EE7C68C-65D9-4290-81AE-09BA58C857CD}" EndProject @@ -25,7 +25,9 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OpenSlideSharp.BitmapExtens EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OpenSlideSharp.BruTile", "src\OpenSlideSharp.BruTile\OpenSlideSharp.BruTile.csproj", "{9DA7F592-F964-45CB-9E2E-F8028AE3C956}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SlideViewer", "example\SlideViewer\SlideViewer.csproj", "{11D9A92F-2314-407B-A392-18B2290E4972}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SlideViewer", "example\SlideViewer\SlideViewer.csproj", "{11D9A92F-2314-407B-A392-18B2290E4972}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OpenSlideSharp.OpencvExtensions", "src\OpenSlideSharp.OpencvExtensions\OpenSlideSharp.OpencvExtensions.csproj", "{4322CA50-F9C6-4619-8A8F-9D99E5906CCB}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -69,6 +71,10 @@ Global {11D9A92F-2314-407B-A392-18B2290E4972}.Debug|Any CPU.Build.0 = Debug|Any CPU {11D9A92F-2314-407B-A392-18B2290E4972}.Release|Any CPU.ActiveCfg = Release|Any CPU {11D9A92F-2314-407B-A392-18B2290E4972}.Release|Any CPU.Build.0 = Release|Any CPU + {4322CA50-F9C6-4619-8A8F-9D99E5906CCB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {4322CA50-F9C6-4619-8A8F-9D99E5906CCB}.Debug|Any CPU.Build.0 = Debug|Any CPU + {4322CA50-F9C6-4619-8A8F-9D99E5906CCB}.Release|Any CPU.ActiveCfg = Release|Any CPU + {4322CA50-F9C6-4619-8A8F-9D99E5906CCB}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -83,6 +89,7 @@ Global {695DED59-4106-424A-9831-2227F0B35BAE} = {6EE7C68C-65D9-4290-81AE-09BA58C857CD} {9DA7F592-F964-45CB-9E2E-F8028AE3C956} = {6EE7C68C-65D9-4290-81AE-09BA58C857CD} {11D9A92F-2314-407B-A392-18B2290E4972} = {C3C9459E-1461-4480-B551-AAED7BDAD940} + {4322CA50-F9C6-4619-8A8F-9D99E5906CCB} = {6EE7C68C-65D9-4290-81AE-09BA58C857CD} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {6D55D41F-7887-4787-BD15-17389C769282} diff --git a/build/DownloadAndCopy.ps1 b/build/DownloadAndCopy.ps1 index 893431f..e6655ff 100644 --- a/build/DownloadAndCopy.ps1 +++ b/build/DownloadAndCopy.ps1 @@ -1,8 +1,8 @@ param( -[string]$x86="https://github.com/openslide/openslide-winbuild/releases/download/v20171122/openslide-win32-20171122.zip", -[string]$x64="https://github.com/openslide/openslide-winbuild/releases/download/v20171122/openslide-win64-20171122.zip", +[string]$x86="https://github.com/openslide/openslide-winbuild/releases/download/v20221111/openslide-win32-20221111.zip", +[string]$x64="https://github.com/openslide/openslide-winbuild/releases/download/v20221111/openslide-win64-20221111.zip", [string]$x86Output="..\openslide\x86\", [string]$x64Output="..\openslide\x64\") diff --git a/example/MultiSlideServer/Cache/DeepZoomGeneratorCache.cs b/example/MultiSlideServer/Cache/DeepZoomGeneratorCache.cs index 5ad26ac..e0797d6 100644 --- a/example/MultiSlideServer/Cache/DeepZoomGeneratorCache.cs +++ b/example/MultiSlideServer/Cache/DeepZoomGeneratorCache.cs @@ -1,7 +1,6 @@ -using System; - -using Microsoft.Extensions.Caching.Memory; +using Microsoft.Extensions.Caching.Memory; using Microsoft.Extensions.Options; +using System; namespace MultiSlideServer.Cache { diff --git a/example/MultiSlideServer/Controllers/HomeController.cs b/example/MultiSlideServer/Controllers/HomeController.cs index 033b846..86f0a73 100644 --- a/example/MultiSlideServer/Controllers/HomeController.cs +++ b/example/MultiSlideServer/Controllers/HomeController.cs @@ -1,9 +1,7 @@ -using System.Linq; -using System.Text; - -using Microsoft.AspNetCore.Mvc; - +using Microsoft.AspNetCore.Mvc; using MultiSlideServer.Cache; +using System.Linq; +using System.Text; namespace MultiSlideServer.Controllers { diff --git a/example/MultiSlideServer/ImageProvider.cs b/example/MultiSlideServer/ImageProvider.cs index b7ca511..86ca4a3 100644 --- a/example/MultiSlideServer/ImageProvider.cs +++ b/example/MultiSlideServer/ImageProvider.cs @@ -1,7 +1,6 @@ using Microsoft.Extensions.Options; using MultiSlideServer.Cache; using OpenSlideSharp; -using System; using System.Collections.Generic; namespace MultiSlideServer @@ -53,6 +52,6 @@ public RetainableDeepZoomGenerator RetainDeepZoomGenerator(string name, string p dz.Dispose(); return dz; } - + } } diff --git a/example/MultiSlideServer/Startup.cs b/example/MultiSlideServer/Startup.cs index 94bfede..33153a2 100644 --- a/example/MultiSlideServer/Startup.cs +++ b/example/MultiSlideServer/Startup.cs @@ -1,17 +1,14 @@ -using System; -using System.Threading.Tasks; - -using Microsoft.AspNetCore.Builder; +using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Primitives; - using MultiSlideServer.Cache; - using OpenSlideSharp; +using OpenSlideSharp.BitmapExtensions; +using System; namespace MultiSlideServer { public class Startup diff --git a/example/SingleSlideServer/ImageOption.cs b/example/SingleSlideServer/ImageOption.cs index 8f7a1d8..dde9115 100644 --- a/example/SingleSlideServer/ImageOption.cs +++ b/example/SingleSlideServer/ImageOption.cs @@ -2,6 +2,6 @@ { public class ImageOption { - public string Path { get; set; } + public string Path { get; set; } } } diff --git a/example/SingleSlideServer/ImageProvider.cs b/example/SingleSlideServer/ImageProvider.cs index 820234d..17d65f6 100644 --- a/example/SingleSlideServer/ImageProvider.cs +++ b/example/SingleSlideServer/ImageProvider.cs @@ -1,6 +1,6 @@ -using System; -using Microsoft.Extensions.Options; +using Microsoft.Extensions.Options; using OpenSlideSharp; +using System; namespace SingleSlideServer { diff --git a/example/SingleSlideServer/Startup.cs b/example/SingleSlideServer/Startup.cs index ab6106b..d5d93e1 100644 --- a/example/SingleSlideServer/Startup.cs +++ b/example/SingleSlideServer/Startup.cs @@ -1,13 +1,11 @@ -using System.Threading.Tasks; - -using Microsoft.AspNetCore.Builder; +using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Primitives; -using OpenSlideSharp; +using OpenSlideSharp.BitmapExtensions; namespace SingleSlideServer { diff --git a/example/SlideViewer/App.xaml b/example/SlideViewer/App.xaml index f0e50b0..70b4a12 100644 --- a/example/SlideViewer/App.xaml +++ b/example/SlideViewer/App.xaml @@ -1,13 +1,17 @@ - + - +