Skip to main content

cleya screenshot

Render an HTML file or URL to a PNG (single shot, lossless — no video encode)

cleya screenshot --html slide.html --width 1200 --height 630 --scale 2 --out slide.png

Options

FlagWhat it does
--htmlPath to an HTML file (provide this OR --url)string
--urlhttp(s) URL to capturestring
--widthViewport width in pixels (default 1920)string
--heightViewport height in pixels (default 1080)string
--scaleDevice scale factor for retina (e.g. 2)string
--waitReadiness before capture: loadfonts
--transparentTransparent background (PNG alpha)boolean
--full-pageCapture full page height, not just the viewportboolean
--outputOutput PNG pathstring · alias --out
--overwriteOverwrite output file if it existsboolean

Category: author — create media from specs (scene DSL, cards, titles, captions, voiceover, capture)

Generated from the toolkit

Generated from cleya capabilities, the toolkit's own manifest, so it cannot drift. Run cleya screenshot --help for the same information in your terminal.