/// <inheritdoc/>
        public void Decode <TColor>(Image <TColor> image, Stream stream, IDecoderOptions options)
            where TColor : struct, IPixel <TColor>
        {
            IPngDecoderOptions pngOptions = PngDecoderOptions.Create(options);

            this.Decode(image, stream, pngOptions);
        }
Esempio n. 2
0
        /// <inheritdoc/>
        public Image <TColor> Decode <TColor>(Configuration configuration, Stream stream, IDecoderOptions options)

            where TColor : struct, IPixel <TColor>
        {
            IPngDecoderOptions pngOptions = PngDecoderOptions.Create(options);

            return(this.Decode <TColor>(configuration, stream, pngOptions));
        }