View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0017054 | Scribus | Import / Export | public | 2023-11-21 13:10 | 2023-11-21 13:10 |
Reporter | mangaTengu | Assigned To | |||
Priority | normal | Severity | feature | Reproducibility | always |
Status | new | Resolution | open | ||
OS | macOS | OS Version | sonoma 14.1.1 | ||
Product Version | 1.5.8 | ||||
Summary | 0017054: Output one page for each page could be multithreaded | ||||
Description | Exporting to pdf allows explicitly saving one file per page (by default it would save everything to one file). But exporting images could also benefit from this. Pages are exported sequentially. In my case, exporting a 40 pages document takes around 90 second in a single file or 120 in multiple files. The idea came from the post process I do which is calling image magick to split images to fit Webtoon's required dimensions. When I multithread my magick calls, I split my conversion time in 6 so I thought "what if I could also multithread the original pdf generation from scribus". If I can do it by watching the output directory (with something like https://github.com/eradman/entr) and directly call conversion on each new pdf file, I would have nearly instant exports instead of several minutes grinding every time I update my output. Since I do a lot of exporting | correcting | exporting, the faster I go the better I feel. More about my workflow: Webtoon displays comics as long strips or scrolls. They require images to be 800x1200px slices. Each image is on its own page, and each page is a different height but for the same width. So sometimes one image is one slice, sometimes it can be several slices. When I save/export pages from scribus, I can't do such slicing, so I do it afterward with image magick. | ||||
Steps To Reproduce | Export a multipage document to images or to a pdf while checking the "Output one file for each page" box. Pages are exported sequentially. | ||||
Tags | performance | ||||
Patch | No | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2023-11-21 13:10 | mangaTengu | New Issue | |
2023-11-21 13:10 | mangaTengu | Tag Attached: performance |