Esempio n. 1
0
        /// <inheritdoc/>
        public IImageInfo Identify(Configuration configuration, Stream stream)
        {
            var decoder = new PngDecoderCore(configuration, this);

            using var bufferedStream = new BufferedReadStream(configuration, stream);
            return(decoder.Identify(bufferedStream));
        }
Esempio n. 2
0
        /// <inheritdoc/>
        public IImageInfo Identify(Configuration configuration, Stream stream)
        {
            var decoder = new PngDecoderCore(configuration, this);

            return(decoder.Identify(stream));
        }