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

Outdated SixLabors.ImageSharp usage #1

Closed
ynot01 opened this issue Feb 2, 2024 · 0 comments
Closed

Outdated SixLabors.ImageSharp usage #1

ynot01 opened this issue Feb 2, 2024 · 0 comments

Comments

@ynot01
Copy link

ynot01 commented Feb 2, 2024

https://github.com/Nihlus/Puzzle/blob/master/Puzzle/SignatureGenerator.cs#L161

if (!image.TryGetSinglePixelSpan(out var pixels))

The method TryGetSinglePixelSpan was changed as noted in this issue

Screenshot below
image

Because of this, trying to use Puzzle's GenerateSignature method results in the following exception

System.MissingMethodException: Method not found: 'Boolean SixLabors.ImageSharp.Image`1.TryGetSinglePixelSpan(System.Span`1<!0> ByRef)'.
   at Puzzle.SignatureGenerator.ComputeAverageSampleLuminosities(Image`1 image)
   at Puzzle.SignatureGenerator.GenerateSignature(Image`1 image)
@Nihlus Nihlus closed this as completed Feb 10, 2024
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

No branches or pull requests

2 participants