Function mupdf_sys::fz_format_output_path [−][src]
pub unsafe extern "C" fn fz_format_output_path(
ctx: *mut fz_context,
path: *mut c_char,
size: usize,
fmt: *const c_char,
page: c_int
)
create output file name using a template.
If the path contains %[0-9]*d, the first such pattern will be replaced with the page number. If the template does not contain such a pattern, the page number will be inserted before the filename extension. If the template does not have a filename extension, the page number will be added to the end.