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( await WithSeekableStreamAsync(
configuration, configuration,
stream, stream,
async s => await DecodeAsync<TPixel>(s, configuration) s => DecodeAsync<TPixel>(s, configuration))
.ConfigureAwait(false)); .ConfigureAwait(false);
if (data.img != null) if (data.img != null)
{ {

Loading…
Cancel
Save