From 9fffa641ce24a122a0162a02c1351d6abbc1b487 Mon Sep 17 00:00:00 2001 From: Steve Desmond Date: Mon, 11 Dec 2023 11:29:08 -0500 Subject: [PATCH] Upgrade to ImageSharp v3.1 --- SrcSet.Core/ImageExtensions.cs | 3 +++ SrcSet.Core/SizeExtensions.cs | 2 ++ SrcSet.Core/SrcSet.Core.csproj | 2 +- SrcSet.Core/SrcSetManager.cs | 2 ++ 4 files changed, 8 insertions(+), 1 deletion(-) diff --git a/SrcSet.Core/ImageExtensions.cs b/SrcSet.Core/ImageExtensions.cs index f006806..2903862 100644 --- a/SrcSet.Core/ImageExtensions.cs +++ b/SrcSet.Core/ImageExtensions.cs @@ -1,3 +1,6 @@ +using SixLabors.ImageSharp; +using SixLabors.ImageSharp.Processing; + namespace SrcSet.Core; public static class ImageExtensions diff --git a/SrcSet.Core/SizeExtensions.cs b/SrcSet.Core/SizeExtensions.cs index 421d429..c570363 100644 --- a/SrcSet.Core/SizeExtensions.cs +++ b/SrcSet.Core/SizeExtensions.cs @@ -1,3 +1,5 @@ +using SixLabors.ImageSharp; + namespace SrcSet.Core; public static class SizeExtensions diff --git a/SrcSet.Core/SrcSet.Core.csproj b/SrcSet.Core/SrcSet.Core.csproj index ab49ce7..50758c2 100644 --- a/SrcSet.Core/SrcSet.Core.csproj +++ b/SrcSet.Core/SrcSet.Core.csproj @@ -21,7 +21,7 @@ - + \ No newline at end of file diff --git a/SrcSet.Core/SrcSetManager.cs b/SrcSet.Core/SrcSetManager.cs index 9f6f3bc..f4c31b3 100644 --- a/SrcSet.Core/SrcSetManager.cs +++ b/SrcSet.Core/SrcSetManager.cs @@ -1,3 +1,5 @@ +using SixLabors.ImageSharp; + namespace SrcSet.Core; public sealed class SrcSetManager