Skip to content

Generate Images in C# Using ImageSharp: net11.0, pinned ImageSharp 3.1.12 and Drawing 2.1.7 - #2401

Open
vladimir-pecanac-main wants to merge 1 commit into
CodeMazeBlog:mainfrom
vladimir-pecanac-main:seo/116580-csharp-generate-images-using-imagesharp
Open

vladimir-pecanac-main wants to merge 1 commit into
CodeMazeBlog:mainfrom
vladimir-pecanac-main:seo/116580-csharp-generate-images-using-imagesharp

Conversation

@vladimir-pecanac-main

Copy link
Copy Markdown
Collaborator

Moves the GenerateImagesInCSharpUsingImageSharp sample to net11.0 and pins SixLabors.ImageSharp 3.1.12 and SixLabors.ImageSharp.Drawing 2.1.7, the newest versions that build without a license key; the restore still shows the six NuGet advisory warnings for ImageSharp 3.1.12, which stay warnings. DrawPolygon() now gets three points because the polygon closes itself, the test class is renamed to ImageServiceTests so CI runs its 10 tests, the reference comparison test is replaced by pixel checks, and the xUnit, test SDK and coverlet packages are updated.

…Drawing 2.1.7, run tests in CI

Both projects move to net11.0. The library pins SixLabors.ImageSharp 3.1.12 and
SixLabors.ImageSharp.Drawing 2.1.7, the newest versions without a build-time
license check. DrawPolygon() gets three points, since the polygon closes itself.
The test class drops the Live suffix so CI runs it, and the tests check pixels
instead of comparing object references. Test packages updated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant