Skip to content

Commit

Permalink
src/__init__.py: fixed call to mupdf.fz_new_image_from_compressed_buf…
Browse files Browse the repository at this point in the history
…fer2().

Underlying MuPDF C++ fn now takes references to std::vectors, so we need to
pass empty vectors intead of None.
  • Loading branch information
julian-smith-artifex-com committed Feb 17, 2024
1 parent ff1bdbb commit 06bfc11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7819,8 +7819,8 @@ def _insert_image(self,
yres,
1, # interpolate
0, # imagemask,
None, # decode
None, # colorkey
list(), # decode
list(), # colorkey
cbuf1,
mask,
)
Expand Down

0 comments on commit 06bfc11

Please sign in to comment.