/// <inheritdoc/> public Task <IImageInfo> IdentifyAsync(Configuration configuration, Stream stream) { Guard.NotNull(stream, nameof(stream)); var decoder = new GifDecoderCore(configuration, this); return(decoder.IdentifyAsync(stream)); }
/// <inheritdoc/> public Task <IImageInfo> IdentifyAsync(Configuration configuration, Stream stream) { Guard.NotNull(stream, nameof(stream)); var decoder = new GifDecoderCore(configuration, this); using var bufferedStream = new BufferedReadStream(configuration, stream); return(decoder.IdentifyAsync(bufferedStream)); }