Browse Source
Update tests/ImageSharp.Tests/TestUtilities/Tests/TestImageProviderTests.cs
Co-authored-by: Scott Williams <tocsoft@gmail.com>
pull/2317/head
James Jackson-South
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
tests/ImageSharp.Tests/TestUtilities/Tests/TestImageProviderTests.cs
|
|
|
@ -408,7 +408,7 @@ public class TestImageProviderTests |
|
|
|
|
|
|
|
protected override ImageInfo Identify(DecoderOptions options, Stream stream, CancellationToken cancellationToken) |
|
|
|
{ |
|
|
|
Image<Rgba32> image = this.Decode<Rgba32>(this.CreateDefaultSpecializedOptions(options), stream, cancellationToken); |
|
|
|
using Image<Rgba32> image = this.Decode<Rgba32>(this.CreateDefaultSpecializedOptions(options), stream, cancellationToken); |
|
|
|
return new(image.PixelType, image.Width, image.Height, image.Metadata); |
|
|
|
} |
|
|
|
|
|
|
|
|