Function mupdf_sys::fz_open_faxd

source ·
pub unsafe extern "C" fn fz_open_faxd(
    ctx: *mut fz_context,
    chain: *mut fz_stream,
    k: c_int,
    end_of_line: c_int,
    encoded_byte_align: c_int,
    columns: c_int,
    rows: c_int,
    end_of_block: c_int,
    black_is_1: c_int
) -> *mut fz_stream
Expand description

faxd filter performs FAX decoding of data read from the chained filter.

k: see fax specification (fax default is 0).

end_of_line: whether we expect end of line markers (fax default is 0).

encoded_byte_align: whether we align to bytes after each line (fax default is 0).

columns: how many columns in the image (fax default is 1728).

rows: 0 for unspecified or the number of rows of data to expect.

end_of_block: whether we expect end of block markers (fax default is 1).

black_is_1: determines the polarity of the image (fax default is 0).