From 648494a4ec48b883cfefb90f2187e029637d958b Mon Sep 17 00:00:00 2001 From: deeplow Date: Tue, 19 Dec 2023 16:24:00 +0000 Subject: [PATCH] FIXUP: pixmap.samples -> pixmap.samples_mv --- dangerzone/conversion/doc_to_pixels.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dangerzone/conversion/doc_to_pixels.py b/dangerzone/conversion/doc_to_pixels.py index 18145a942..363ae9d0c 100644 --- a/dangerzone/conversion/doc_to_pixels.py +++ b/dangerzone/conversion/doc_to_pixels.py @@ -246,7 +246,7 @@ async def convert(self) -> None: f"Converting page {page_num}/{doc.page_count} to pixels" ) pix = page.get_pixmap(dpi=DEFAULT_DPI) - rgb_buf = pix.samples + rgb_buf = pix.samples_mv await self.write_page_width(pix.width, width_filename) await self.write_page_height(pix.height, height_filename) await self.write_page_data(rgb_buf, rgb_filename)