Category : Printer + Display Graphics
Archive   : TIFGIF.ZIP
Filename : TIFRLE.H

 
Output of file : TIFRLE.H contained in archive : TIFGIF.ZIP
/*----------------------------------------------------------------------*/
/* Copyright (c) 1988-1989 */
/* by CompuServe Inc., Tucson, AZ. All Rights Reserved */
/* TIFRLE.H can be copied and distributed freely for any */
/* non-commercial purposes. TIFRLE.H can only be incorporated */
/* into commercial software with the permission of CompuServe Inc. */
/*----------------------------------------------------------------------*/


/* Header file TIFRLE.H */

/*
* Routine to read in bits of Huffman encoded scan line and emit
* corresponding Run Length counts.
* Bits are read in via next_bit_from_stream and refill_byte (see READTIF.H)
* Run lengths are stored in rle_line.
* If an EOL is seen before any pixels, eol_first is set.
*/

extern void expand_huffman_line( rle_line *emit_line,
int *eol_first );
/*
* Routine to process either an already expanded huffman_line or the following
* line to return the next pixel (WHITE or BLACK).
* Calls expand_huffman_line as needed.
*/

extern short get_RLE_bit( void );

/*
* Routine to read bits of Huffman stream until a run length has been
* determined. Returns new color, length of it and whether the end of line
* has been reached.
*/

extern void expand_huffman_code( colors color_of_run,
int *length_of_color,
int *eol_seen );

/*
* Routine to initialize variables for decoding a new page.
*/

extern short int start_huffman_page( char huffman_name[] );


  3 Responses to “Category : Printer + Display Graphics
Archive   : TIFGIF.ZIP
Filename : TIFRLE.H

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/