Browse Source

Update Image.FromStream.cs

pull/1196/head
James Jackson-South 6 years ago
parent
commit
b8232e4c03
  1. 4
      src/ImageSharp/Image.FromStream.cs

4
src/ImageSharp/Image.FromStream.cs

@ -576,8 +576,8 @@ namespace SixLabors.ImageSharp
await WithSeekableStreamAsync(
configuration,
stream,
async s => await DecodeAsync<TPixel>(s, configuration)
.ConfigureAwait(false));
s => DecodeAsync<TPixel>(s, configuration))
.ConfigureAwait(false);
if (data.img != null)
{

Loading…
Cancel
Save