Update to crates.io mupdf

This commit is contained in:
itsjunetime
2025-04-28 12:44:22 -06:00
parent 061863d34c
commit 5c7073b31e
3 changed files with 173 additions and 92 deletions
+1 -1
View File
@@ -459,7 +459,7 @@ fn render_single_page_to_ctx(
let colorspace = Colorspace::device_rgb();
let matrix = Matrix::new_scale(scale_factor, scale_factor);
let mut pixmap = page.to_pixmap(&matrix, &colorspace, 0.0, false)?;
let mut pixmap = page.to_pixmap(&matrix, &colorspace, false, false)?;
if invert {
pixmap.invert()?;
}