Image compression routines.
 /// <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);
 }
        /// <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);
        }