Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to ImageSharp 3 #28

Merged
merged 1 commit into from
Feb 18, 2024
Merged

Conversation

Ritorna
Copy link
Contributor

@Ritorna Ritorna commented Jan 22, 2024

This pull request focuses on the integration of ImageSharp 3.

Brief summarization of the contents of this pull request:

  • bump SixLabors.ImageSharp to 3.1.2
  • SixLabors.ImageSharp.Drawing to 2.1.0
  • adjust Bounds and Size function calls to use properties instead

I've run the tests located in the FaceAiSharp.Tests project to assure this does not introduce breaking behaviors.
This might introduce breaking changes in consumers that do use SixLabors.ImageSharp 2, but vice versa this fixes a runtime error when the consumer uses SixLabors.ImageSharp 3. The SixLabors.ImageSharp.ImageInfoExtensions were removed from the library which then causes as TypeLoaderException.

- bump SixLabors.ImageSharp to 3.1.2
- SixLabors.ImageSharp.Drawing to 2.1.0
- adjust Bounds and Size function calls to use properties instead
@georg-jung georg-jung merged commit b7a7d6c into georg-jung:master Feb 18, 2024
1 check passed
@georg-jung
Copy link
Owner

Thanks, and sorry for the delay!

@georg-jung
Copy link
Owner

An updated version is now available on NuGet: https://www.nuget.org/packages/FaceAiSharp/0.5.23

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.

2 participants