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