Image compression routines.
コード例 #1
0
 /// <summary>
 /// Encodes and writes pixel data.
 /// </summary>
 private void WritePixels(int width, int height)
 {
     var encoder = new LzwEncoder(width, height, _indexedPixels, _colorDepth);
     encoder.Encode(_fs);
 }
コード例 #2
0
        /// <summary>
        /// Encodes and writes pixel data.
        /// </summary>
        private void WritePixels(int width, int height)
        {
            var encoder = new LzwEncoder(width, height, _indexedPixels, _colorDepth);

            encoder.Encode(_fs);
        }