Skip to main content

render

Function render 

Source
pub fn render(page: &Page, opts: &RenderOptions) -> Pixmap
Expand description

Export a page into a raster image.

This renders the page at the given number of pixels per point and returns the resulting tiny-skia pixel buffer.