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:

FormatArgument ValueCategory
PNGpngImage
PDFpdfDocument
MHTMLmhtml
HTMLhtml
JPEGjpegImage
JPEG XLjpegxlImage
APNGapngImage
WebPwebpImage
TIFFtiffImage
AVIFavifImage
GIFgifImage
WebMwebmVideo
MP4mp4Video
MarkdownmarkdownDocument
HARharDiagnostics
WARCwarcArchive
AXTreeaxtree
LLM JSONllm_jsonDocument
LLM Textllm_textDocument
LLM Rawllm_rawDocument