Skip to main content

render_page

Function render_page 

Source
pub fn render_page(
    doc: &PdfDocument,
    page_index: usize,
    options: &RenderOptions,
) -> Result<Vec<u8>>
Expand description

Render a single page of a PDF document to PNG bytes.

page_index is 0-based.