pub unsafe extern "C" fn fz_new_buffer_from_pixmap_as_png(
    ctx: *mut fz_context,
    pixmap: *mut fz_pixmap,
    color_params: fz_color_params
) -> *mut fz_buffer
Expand description

Reencode a given pixmap as a PNG into a buffer.

Ownership of the buffer is returned.