diff options
| author | Kyle Javier [kj_sh604] | 2026-02-13 02:16:00 -0500 |
|---|---|---|
| committer | GitHub | 2026-02-13 02:16:00 -0500 |
| commit | df13e75add22cdd160c620f2f15f1b368194d958 (patch) | |
| tree | bdfb03241e60ca66444ba3aa9f5c279bff224f91 | |
| parent | 5cad79af4bb9bd238f2dc351cfd66d3178c46a24 (diff) | |
refactor: add video
| -rw-r--r-- | README.md | 10 |
1 files changed, 6 insertions, 4 deletions
| @@ -1,14 +1,16 @@ | |||
| 1 | # kjandoc | 1 | # kjandoc |
| 2 | 2 | ||
| 3 | > i needed something to combine multiple pptx files, i couldn't believe pandoc can't do that, so here's a creative but probably useless attempt at it. | 3 | > i needed something to combine multiple pptx files, i couldn't believe `pandoc` can't do that, so here's a creative but probably useless attempt at it. |
| 4 | |||
| 5 | https://github.com/user-attachments/assets/915940ab-f6a5-4e6f-b8dc-62de81d35c62 | ||
| 4 | 6 | ||
| 5 | ## what it does | 7 | ## what it does |
| 6 | - merges multiple .pptx files into one | 8 | - merges multiple .pptx files into one |
| 7 | - preserves visual formatting by rendering slides and rebuilding a new deck | 9 | - preserves visual formatting by rendering slides and rebuilding a new deck |
| 8 | - pandoc-style usage: `kjandoc input1.pptx input2.pptx -o combined.pptx` | 10 | - `pandoc`-style usage: `kjandoc input1.pptx input2.pptx -o combined.pptx` |
| 9 | 11 | ||
| 10 | ## why this exists | 12 | ## why this exists |
| 11 | pandoc is great, but it can't concatenate `.pptx` files. | 13 | `pandoc` is great, but it can't concatenate `.pptx` files. |
| 12 | 14 | ||
| 13 | this uses a headless libreoffice + pdf -> png rendering to get a merge with most formatting preserved. | 15 | this uses a headless libreoffice + pdf -> png rendering to get a merge with most formatting preserved. |
| 14 | 16 | ||
| @@ -31,4 +33,4 @@ the tradeoff is the output slides are images (not editable shapes). | |||
| 31 | 33 | ||
| 32 | ## notes | 34 | ## notes |
| 33 | - output size is larger (images) | 35 | - output size is larger (images) |
| 34 | - visuals stay intact for the most part \ No newline at end of file | 36 | - visuals stay intact for the most part |
