Skip to content

Commit

Permalink
FIXUP: pixmap.samples -> pixmap.samples_mv
Browse files Browse the repository at this point in the history
  • Loading branch information
deeplow committed Dec 19, 2023
1 parent b09bb18 commit 648494a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dangerzone/conversion/doc_to_pixels.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 648494a

Please sign in to comment.