Repository navigation
PDF β PPTX: one slide per page (built in) - #98
Merged
Merged
Conversation
Each PDF page is rendered with PDFium and becomes one JPEG picture on its own slide, so the deck looks exactly like the PDF (not editable). The slide size is the first page's own size (A4 portrait β portrait slides, 16:9 β 16:9); every page is fitted and centred. Render DPI from the preset (150..600, pages over 25 megapixels render smaller), page range from the preset, JPEG quality from the preset (90). The page text (PdfPig, reading order) goes into the speaker notes. The package is written by hand and validated with the Open XML SDK in the tests. The edge is DirectOnly, a new ConversionEdge flag: the planner uses it only for a PDF converted to PPTX, never as a step of a longer route, so no other pair of formats changes (checked for every pair). "PPTX (slides)" preset on the PDF donut after DOCX: settings schema 18 puts it in place of TIFF on an unchanged default donut and offers it to a changed one with room; the "pdf-slides" engine joins the priority list after "pdf-text". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
KnifeLemon
added a commit
to pleguen/Filee
that referenced
this pull request
Oct 18, 2026
Schema 18 is taken by PDF β PPTX (KnifeLemon#98), so "Extract frames (PNG / JPG)" come with 19. They are inserted after "Split PDF", where a new library has them (BuiltInData.FramePresets), instead of at the end, and stay on no donut. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
For #96: converts PDF to PowerPoint, one slide per page. Each slide shows the page rendered as a picture, so it looks exactly like the PDF but can't be edited. Built in; no new engine.
pdf-slidesengine (PdfSlidesConverter,PictureDeckWriter).ConversionEdge.DirectOnlyflag means this edge is used only for a direct PDF β PPTX conversion, never as a step in longer routes (DOCX β PDF β PPTX, PDF β PPTX β ODP). An exhaustive test checks that every other format pair keeps its route.Test plan
PdfSlidesTests, checked with OpenXmlValidator (0 errors) and read back with Filee's PPTX reader. Route stability is checked across all format pairs.dotnet formatis clean.π€ Generated with Claude Code