Skip to content

Commit

Permalink
fixes #17
Browse files Browse the repository at this point in the history
  • Loading branch information
LazZiya committed Jan 29, 2023
1 parent 3a24933 commit 8129eb0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion LazZiya.ImageResize/ImageFrameExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
8 changes: 4 additions & 4 deletions LazZiya.ImageResize/LazZiya.ImageResize.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
<PackageTags>asp.net,core,.net,dotnet,image,resize,text,overlay</PackageTags>
<RepositoryUrl>https://github.com/LazZiya/ImageResize</RepositoryUrl>
<PackageProjectUrl>https://docs.ziyad.info/en/LazZiya.ImageResize/v4.0/index.md</PackageProjectUrl>
<VersionPrefix>4.1.3</VersionPrefix>
<VersionPrefix>4.1.4</VersionPrefix>
<VersionSuffix></VersionSuffix>
<AssemblyVersion>4.1.3.0</AssemblyVersion>
<FileVersion>4.1.3.0</FileVersion>
<AssemblyVersion>4.1.4.0</AssemblyVersion>
<FileVersion>4.1.4.0</FileVersion>
<PackageReleaseNotes>
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
</PackageReleaseNotes>
<PackageIconUrl>https://raw.githubusercontent.com/LazZiya/ImageResize/master/LazZiya.ImageResize/files/icon.png</PackageIconUrl>
Expand Down

0 comments on commit 8129eb0

Please sign in to comment.