/** * Encodes and writes pixel data */ protected void WritePixels() { LZWEncoder encoder = new LZWEncoder(width, height, indexedPixels, colorDepth); encoder.Encode(fs); }
/** * Encodes and writes pixel data */ protected void WritePixels() { LZWEncoder encoder = new LZWEncoder(width, height, indexedPixels, colorDepth); encoder.Encode( fs ); }
private void WritePixels(byte[] pixelindexes) { LZWEncoder encoder = new LZWEncoder(this.Width, this.Height, pixelindexes, this.ColorDept); encoder.Encode(this.Stream); }