/// <exception cref="IOException">This method might throw this exception.</exception> protected override Stream GetImageStream(ImageDecodingInfo decodingInfo) { Stream stream = decodingInfo.Downloader .GetStream(decodingInfo.ImageUri, decodingInfo.ExtraForDownloader); return(stream ?? new JpegClosedInputStream(stream)); }
/// <exception cref="IOException">This method might throw this exception.</exception> protected override Stream GetImageStream(ImageDecodingInfo decodingInfo) { Stream stream = decodingInfo.Downloader .GetStream(decodingInfo.ImageUri, decodingInfo.ExtraForDownloader); return stream ?? new JpegClosedInputStream(stream); }