You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently, I don’t know whether it is pymupdf or the upgrade of the underlying library that causes pixmap.invert_irect(pixmap.irect) to be very slow. It takes 6 to 7 seconds to execute it once.
Can we have a PDF page please and the code which produces a pixmap from it?
To accept a bug, we can only deal with reproducible data requiring no extra installations.
Description of the bug
I am the author of eaf-pdf-viewer (https://github.com/emacs-eaf/eaf-pdf-viewer). One of the features of this PDF reader is to support dark mode.
Recently, I don’t know whether it is pymupdf or the upgrade of the underlying library that causes pixmap.invert_irect(pixmap.irect) to be very slow. It takes 6 to 7 seconds to execute it once.
The problematic code is at: https://github.com/emacs-eaf/eaf-pdf-viewer/blob/0b79e9000551200b6a0d2206de14b87d9ed3c9c9/eaf_pdf_page.py#L198
How to reproduce the bug
dark theme
PyMuPDF version
1.24.4
Operating system
Linux
Python version
3.12
The text was updated successfully, but these errors were encountered: