pub unsafe extern "C" fn fz_new_buffer_from_image_as_png(
    ctx: *mut fz_context,
    image: *mut fz_image,
    color_params: fz_color_params
) -> *mut fz_buffer
Expand description

Reencode a given image as a PNG into a buffer.

Ownership of the buffer is returned.