diff --git a/LazZiya.ImageResize/ImageFrameExtensions.cs b/LazZiya.ImageResize/ImageFrameExtensions.cs
index 96e0b0c..b5c4809 100644
--- a/LazZiya.ImageResize/ImageFrameExtensions.cs
+++ b/LazZiya.ImageResize/ImageFrameExtensions.cs
@@ -85,7 +85,7 @@ public static Image AddFrame(this Image img, int frameWidth, int frameHeight, Im
pen.DashPattern = options.DashPattern;
}
- if (options.Thickness > 0)
+ if (options.Thickness >= 0)
{
var brush = new SolidBrush(options.FillColor);
switch (options.FrameShape)
diff --git a/LazZiya.ImageResize/LazZiya.ImageResize.csproj b/LazZiya.ImageResize/LazZiya.ImageResize.csproj
index c7b27aa..dc746bc 100644
--- a/LazZiya.ImageResize/LazZiya.ImageResize.csproj
+++ b/LazZiya.ImageResize/LazZiya.ImageResize.csproj
@@ -10,13 +10,13 @@
asp.net,core,.net,dotnet,image,resize,text,overlay
https://github.com/LazZiya/ImageResize
https://docs.ziyad.info/en/LazZiya.ImageResize/v4.0/index.md
- 4.1.3
+ 4.1.4
- 4.1.3.0
- 4.1.3.0
+ 4.1.4.0
+ 4.1.4.0
Fixed:
- - added readme file to with reference to nuget package standards https://learn.microsoft.com/en-us/nuget/nuget-org/package-readme-on-nuget-org#preview-your-readme
+ - Allow frame thickness of 0, so background fill can be applied. https://github.com/LazZiya/ImageResize/issues/17org#preview-your-readme
- See all details in the docs https://docs.ziyad.info
https://raw.githubusercontent.com/LazZiya/ImageResize/master/LazZiya.ImageResize/files/icon.png