cutycapt
TLDR
Capture webpage as PNG
$ cutycapt --url=[https://example.com] --out=[screenshot.png]
Capture as PDF$ cutycapt --url=[https://example.com] --out=[page.pdf]
Set viewport size$ cutycapt --url=[url] --out=[out.png] --min-width=[1920] --min-height=[1080]
Capture with delay$ cutycapt --url=[url] --out=[out.png] --delay=[2000]
Disable JavaScript$ cutycapt --url=[url] --out=[out.png] --javascript=off
Run headless with Xvfb$ xvfb-run cutycapt --url=[url] --out=[out.png]
SYNOPSIS
cutycapt --url=url --out=file [options]
DESCRIPTION
cutycapt captures WebKit rendering of web pages to images or documents. Supports PNG, JPEG, PDF, SVG, PS, and other formats. Uses Qt WebKit engine for rendering.
PARAMETERS
--url url
URL to capture (http://, file://, etc.)--out file
Output file path--out-format format
Output format (overrides extension)--min-width pixels
Minimum width (default: 800)--min-height pixels
Minimum height (default: 600)--max-width pixels
Maximum width--max-height pixels
Maximum height--delay ms
Delay after load (default: 0)--max-wait ms
Maximum wait time (default: 90000)--zoom factor
Zoom factor--javascript on|off
Enable/disable JavaScript--plugins on|off
Enable/disable plugins--proxy host:port
HTTP proxy--header name:value
Custom request header--method get|post|put
HTTP method
OUTPUT FORMATS
svg, pdf, ps, png, jpeg, tiff, gif, bmp, mng, ppm, xbm, xpm
CAVEATS
Requires X server. Use xvfb-run for headless environments. Based on older Qt WebKit (not Chromium).
SEE ALSO
wkhtmltoimage(1), chromium(1), firefox(1)


