Skip to content

perf: workerize XTC conversion and add landscape clockwise flip#14

Closed
varo6 wants to merge 2 commits intomasterfrom
dev
Closed

perf: workerize XTC conversion and add landscape clockwise flip#14
varo6 wants to merge 2 commits intomasterfrom
dev

Conversation

@varo6
Copy link
Owner

@varo6 varo6 commented Feb 25, 2026

What this PR does

  • Moves page conversion off the main thread into a worker pool, so long conversions do not block UI interactions.
  • Adds sparse preview generation during conversion to reduce memory pressure and keep previews responsive on larger files.
  • Adds an optional clockwise rotation for landscape pages and wires that option through UI + converter pipeline.

Why

  • Improves converter responsiveness and throughput for multi-page inputs.
  • Ensures landscape content can be exported with expected orientation when needed.

Fixes #10
Fixes #13

@varo6 varo6 closed this Mar 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Issue with Converting Large PDF Files to XTC Flipped Landscape feature

1 participant