Function mupdf_sys::fz_new_document_writer[][src]

pub unsafe extern "C" fn fz_new_document_writer(
    ctx: *mut fz_context,
    path: *const c_char,
    format: *const c_char,
    options: *const c_char
) -> *mut fz_document_writer

Create a new fz_document_writer, for a file of the given type.

path: The document name to write (or NULL for default)

format: Which format to write (currently cbz, html, pdf, pam, pbm, pgm, pkm, png, ppm, pnm, svg, text, xhtml)

options: NULL, or pointer to comma separated string to control file generation.