resvg_options_set_image_rendering_mode in resvg - Rust
Description: @brief Sets the default image rendering method.

# Function resvg::resvg_options_set_image_rendering_mode

source ·

    #[no_mangle]
    pub extern "C" fn resvg_options_set_image_rendering_mode(
        opt: *mut resvg_options,
        mode: resvg_image_rendering
    )

Expand description

@brief Sets the default image rendering method.

Will be used when an SVG element’s `image-rendering` property is set to `auto`.

Default: `RESVG_IMAGE_RENDERING_OPTIMIZE_QUALITY`