Short answer: you can render every slide of a .pptx to PNG and the deck to PDF in Python on Linux without LibreOffice, PowerPoint or a browser, and it is about ten times faster. On the same 20 decks and the same machine, LibreOffice took 1,040 ms a slide and our renderer 100 ms, before the speed work that halved our time again. This post is what we measured, what the renderer does not do, and how to try it on your own decks.
Why this matters now: agents write the .pptx
Agents now write decks with python-pptx or pptxgenjs, and somebody has to look at the result: a vision model grading an episode, a chat showing a preview, a person deciding whether to send it. python-pptx writes XML and draws nothing (limitation 11), so every pipeline we read starts the same way: one headless LibreOffice process per deck, PPTX to PDF, then PDF to PNG. It works, and it costs about a second a slide, a large install, and a container that is slow to start.
What we measured
- Against LibreOffice: 419 slides of 20 decks from five AI deck products, one machine, November 2026. LibreOffice headless, one process per deck, PPTX to PDF to PNG at 150 DPI, its container's start not counted: 1,040 ms a slide. Ours, to pictures at 150 DPI: 100 ms.
- Whole decks today: a 20-slide deck as PNG files in 0.45 s and as one PDF in 0.48 s, on a 16-core desktop in a Linux container. On one core a slide takes 97 ms as a PNG file.
- Reliability: 6,207 slides from 947 decks drawn as pictures and as PDF, none failed.
- Likeness: 0.89 against PowerPoint's own export, by structural similarity; PowerPoint against itself scores 0.96. On decks from five AI deck products, 0.90, ahead of every other renderer we tested.
- The PDF is a real PDF: text can be selected, shapes are vectors, about 0.08 MB a slide.
And a verdict on whether the deck is broken
A picture tells a vision model what the slide looks like; it does not tell a program whether a reader can use it. With the pictures comes a deterministic report, with no model in the loop: text off the slide, text over text, content hidden under a shape, text nobody can read, type too small, empty slides, slides that are only a picture. Each finding carries a code, the shape it is about and a remedy, and the deck gets a pass and a score. On 22 test decks, clean ones and ones with a planted defect, every one was graded correctly and every report was identical on a second run.
What it does not do
- Not PowerPoint, pixel for pixel. SmartArt and a few chart and arrow kinds are placeholders.
- No taste score. A plain deck that works scores 1.0, like a designed one.
- No task check. Whether the right figures are on the slide stays your check.
- No guessing. Text over photos is reported as not covered, never passed or failed.
Try it on your own decks
The hosted draw call takes any .pptx and returns a PNG per slide, the PDF and, with inspect: true, the verdict, at $0.01 a page. It runs on our shared servers and is meant for trying the renderer on your decks; the speeds above are the renderer on your own hardware. Reference: POST /v1/draw; agents on MCP call draw_deck.
import base64, requests
KEY = {"Authorization": "Bearer sf_live_YOUR_KEY"}
r = requests.post(
"https://api.slideforge.dev/v1/draw",
headers=KEY,
json={
"pptx_base64": base64.b64encode(open("deck.pptx", "rb").read()).decode(),
"inspect": True,
},
).json()
for n, url in enumerate(r["pictures"]):
open(f"slide_{n + 1}.png", "wb").write(requests.get(url, headers=KEY).content)
open("deck.pdf", "wb").write(requests.get(r["pdf"], headers=KEY).content)
verdict = r["report"]["verdict"]
reward = verdict["score"] if verdict["pass"] else 0.0Running it inside your own containers, offline, with pinned typefaces and the same picture on every run, is in private pilot: render PPTX to PNG and PDF without Office.