pub fn render_page(doc: &Document, page: &Page, scale: f32) -> Result<Pixmap>Expand description
Renders a page at scale onto a white background. The pixel size is
ceil(crop_w * scale) x ceil(crop_h * scale) (after /Rotate), and the
base transform maps the crop box to device space with a y-flip and the
page rotation applied.