Quote:
Originally Posted by loviedovie
Do you have plans for multitheading? Especially for the preview window, sometimes it is a bit slow.
|
I do have plans for multithreading, but not for the preview window at the moment, though I suppose it may get impacted. I haven't entirely thought it through. The multithreading plan is to break the source file into N sections, process each section in parallel, and then join the output together with a separate tool like jpdftweak or pdfsam (MuPDF doesn't have an API for joining PDF files yet). Or, if multiple docs are selected for conversion, to simply convert each of them in parallel (even easier). The issue with the preview window, if you preview a high page number, is that the entire conversion has to be done up to that preview page number each time. There's not really an easy way to get around that. To multithread that, I'd have to parallelize at a micro-level, which isn't as trivial, rather than the macro-level I described above.
You can always put a limited source page range into the GUI's "Pages to Convert" box to preview how a specific source page (or set of pages) will convert.