Exemple #1
0
        /**
         * Encodes and writes pixel data
         */
        protected void WritePixels()
        {
            LZWEncoder encoder =
                new LZWEncoder(width, height, indexedPixels, colorDepth);

            encoder.Encode(fs);
        }
Exemple #2
0
        /**
         * Encodes and writes pixel data
         */
        protected void WritePixels()
        {
            LZWEncoder encoder =
                new LZWEncoder(width, height, indexedPixels, colorDepth);

            //Stream stream = WindowsRuntimeStreamExtensions.AsStreamForRead(fs.GetInputStreamAt(0));
            encoder.Encode(fs);
        }