Installation
Requirements
Install with pip
Install with uv (recommended)
Optional: Background Removal
To use remove_background=True on image layers, install the rembg extra:
Note
The rembg extra pulls in onnxruntime and will download a model (~170 MB) on first use. It is not required for any other quickthumb feature.
Optional: SVG Layers
To use canvas.svg(...) layers, install the svg extra (cairosvg):
Rendering a canvas that contains an SVG layer without this extra raises RenderingError.
Optional: PPTX Export
To export canvases to PowerPoint with canvas.to_pptx() or canvas.render("deck.pptx"), install the pptx extra (python-pptx):
SVG export needs no extra dependencies. See Exporting to SVG & PPTX for details.
Optional: CLI
To use the quickthumb command (render, lint, watch), install the cli extra:
See Diagnostics & CLI for the command reference.
Verify the installation
Environment Variables
quickthumb reads two optional environment variables at startup:
| Variable | Purpose |
|---|---|
QUICKTHUMB_FONT_DIR |
Directory that contains custom font files |
QUICKTHUMB_DEFAULT_FONT |
Font family/name to use when font is omitted |