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
parent
commit
289d7eef30
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      tests/ImageSharp.Tests/TestUtilities/Tests/TestImageProviderTests.cs

2
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);
}

Loading…
Cancel
Save