Function mupdf_sys::fz_write_band

source ยท
pub unsafe extern "C" fn fz_write_band(
    ctx: *mut fz_context,
    writer: *mut fz_band_writer,
    stride: c_int,
    band_height: c_int,
    samples: *const c_uchar
)
Expand description

Cause a band writer to write the next band of data for an image.

stride: The byte offset from the first byte of the data for a pixel to the first byte of the data for the same pixel on the row below.

band_height: The number of lines in this band.

samples: Pointer to first byte of the data.