Function mupdf_sys::fz_open_lzwd [−][src]
pub unsafe extern "C" fn fz_open_lzwd(
ctx: *mut fz_context,
chain: *mut fz_stream,
early_change: c_int,
min_bits: c_int,
reverse_bits: c_int,
old_tiff: c_int
) -> *mut fz_stream
lzwd filter performs LZW decoding of data read from the chained filter.
early_change: (Default 1) specifies whether to change codes 1 bit early.
min_bits: (Default 9) specifies the minimum number of bits to use.
reverse_bits: (Default 0) allows for compatibility with gif and old style tiffs (1).
old_tiff: (Default 0) allows for different handling of the clear code, as found in old style tiffs.