Output Types
# Output zshot-cli.com as a PNG file
zshot --output-type png https://zshot-cli.com
# Output zshot-cli.com as a WARC file
zshot --output-type warc https://zshot-cli.com
# Output zshot-cli.com as a WEBM file
zshot --output-type webm https://zshot-cli.com
Use --output-type to specify which format you would like the output in. Each format may support different additional arguments that will affect its output: image and video for example support different additional flags depending on your need.
The current list of supported --output-type arguments are:
| Format | Argument Value | Category |
|---|---|---|
| PNG | png | Image |
pdf | Document | |
| MHTML | mhtml | |
| HTML | html | |
| JPEG | jpeg | Image |
| JPEG XL | jpegxl | Image |
| APNG | apng | Image |
| WebP | webp | Image |
| TIFF | tiff | Image |
| AVIF | avif | Image |
| GIF | gif | Image |
| WebM | webm | Video |
| MP4 | mp4 | Video |
| Markdown | markdown | Document |
| HAR | har | Diagnostics |
| WARC | warc | Archive |
| AXTree | axtree | |
| LLM JSON | llm_json | Document |
| LLM Text | llm_text | Document |
| LLM Raw | llm_raw | Document |