Replies: 7 comments 14 replies
-
Hey, Apparently it is a limitation from the underlying mupdf library, see #674. So this change won't come soon. We used temporary files to deal with it and the performance was fine on our setup. Cheers |
Beta Was this translation helpful? Give feedback.
-
Linearization as implemented by MuPDF requires the output device to support the After this had been detected by #674 I disabled the linear option for bytes output (which I will rename to I never bothered to try alternatives like So it looks like temporary files are the way to go for the time being. |
Beta Was this translation helpful? Give feedback.
-
I remember I did use MuPDF's option to user-define an own output device. Requires providing function slots for all the disk operations - seek being among them. |
Beta Was this translation helpful? Give feedback.
-
Let me convert this thread to a discussion ... will be more adequate. |
Beta Was this translation helpful? Give feedback.
-
Thanks to everyone for participating in this ... and getting me ignited! |
Beta Was this translation helpful? Give feedback.
-
Thank you all for the feedback. Wheel generation is underway. For those of you using OSX or some Linux and who would like to test it, may download their version from the resp. branch of this repo. The change works like this:
|
Beta Was this translation helpful? Give feedback.
-
Hi @JorjMcKie Finally I have tried your new implementation it works fine but the PDF looks broken afterwards. Only the first page is visible. If I open it with evince:
|
Beta Was this translation helpful? Give feedback.
-
PyMuPDF/fitz/fitz.i
Lines 1685 to 1688 in b0babae
I am not sure if this is on purpose but it would be nice to write also linearized files. :-)
Beta Was this translation helpful? Give feedback.
All reactions