Exporting images#
Writing PNGs without a terminal, sized for the vision models that will read them. Export never overwrites a file; it numbers the name instead. --max-edge is the stable way to size an image; --vision-profile is only an alias for one.
| Option | Argument | Default | Description |
|---|---|---|---|
-o, --output | string | export one input as PNG; ‘-’ writes PNG to stdout | |
-O, --output-dir | string | export each input as a numbered PNG in this directory | |
-s, --max-edge | int | 1536 | maximum exported image edge in pixels (1–4096) |
--vision-profile | string | alias for a –max-edge, which is stable where these go stale: claude-high, claude-standard, openai-high |
Examples#
# One page, as a PNG
gloss --page 2 --output page2.png report.pdf
# Every page, into a folder
gloss --page all --output-dir pages report.pdf
# A contact sheet of a model's views, to a pipe
gloss --view front,top,iso --output - model.stl > sheet.png