Quick wins for a faster PC:
Scan for outdated or missing drivers - takes under a minuteDriver Scan →Repair Windows errors before they cause bigger problemsFix Now →wkhtmltoimage is a headless command-line renderer that turns a URL or local HTML file into an image using the Qt WebKit engine. The basic command is wkhtmltoimage [OPTIONS] <input> <output>. Install a release that matches your operating system and CPU architecture, verify it with --version, then capture a page by supplying its URL or file path and an output filename such as .png, .jpg, or .webp.
What wkhtmltoimage does
wkhtmltoimage renders HTML in a headless process, so it does not need an X server or other display service. It accepts either a web address or an HTML file. The output extension selects the image format, although the formats available can vary between builds; confirm yours with the installed binary’s help.
The renderer is based on Qt WebKit. That gives it a predictable, old browser environment, but it also means modern JavaScript, CSS, and browser APIs may not behave like they do in current Chromium or Firefox.
Choose and install a build
Check the release source and age
The wkhtmltopdf project’s downloads page identifies version 0.12.6 as its stable series, released June 11, 2020. Its published assets include a Windows installer/archive, a macOS installer, and Debian 11 packages for amd64, i386, arm64, ppc64el, and Raspberry Pi. Those listings are historical guidance rather than a compatibility guarantee: verify that the asset still exists and matches your operating system, distribution release, and CPU architecture.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
#1 Best Overall
- [Crystal-Clear Imaging and Smooth Video Streaming] 8 Megapixel Ultra-High definition SONY camera captures live images at up to 3264 x 2448 pixels with lag-free video streaming at 30 fps across all resolutions.
- [Your Space-Saving Multi-Joint Camera] Experience the durability of our multi-joint design while enjoying a generous viewing size of 14.72 x 11 inches. This compact camera is perfect for your desktop set up.
- [Powerful Features, Crisp Image] Featuring LED light, and an anti-glare sheet for exposure challenges in varying lighting. 7-segment brightness control, image flip, and built-in mic ensure top-notch performance. Autofocus lens and macro capability (capturing objects as close as 3.9 inches).
- [Feature-Packed INSWAN Documate Software] The bundled full-function INSWAN Documate software offers digital zoom, image annotation, hue adjustment, image rotation/flip, video recording, snapshots and other useful features. Download the latest version for free and access tutorial videos!
- [Plug-n-Play & High Compatibility for Effortless Conferencing] The INS-1 comes with a USB-A cable for instant plug-and-play operation. Seamlessly works with Documate and other webinar software on PC (Windows 7/8/10/11), Mac (OS13.5 or higher), iPad (OS 17 or higher; must have a USB-C port) , Chromebook (38.0 or higher). Designed and made in Taiwan.
The project’s GitHub repository was archived on January 2, 2023 and is read-only. A deployment that needs actively patched browser-engine security updates should weigh that maintenance status before standardizing on wkhtmltoimage.
Download the matching asset
- Open the project’s current release/download page.
- Identify your operating system and architecture (for example, Windows 64-bit, macOS, or Debian Linux arm64).
- Download the corresponding installer or archive.
- Read the package notes and install any dependencies it lists. Do not assume a package-manager command from another distribution will apply to yours.
- Place the executable in a directory on your
PATH, or call it with its full path.
Verify the executable
wkhtmltoimage --version
wkhtmltoimage --help
wkhtmltoimage --extended-help
The version command confirms that the shell can find the program. The help output is important because defaults, available image formats, and option support can differ among vendor packages and builds. If the command is not found, use the executable’s full path or add its directory to PATH.
Capture a URL or local HTML file
Capture a web page
wkhtmltoimage https://example.com page.png
The first argument is the input URL and the second is the output file. Use an explicit extension so the intended format is clear.
Capture a local document
wkhtmltoimage ./page.html page.png
Relative paths are resolved from the directory where you run the command. Use an absolute path when a scheduled job or service may have a different working directory.
Do these 3 things before closing this tab:
1Clear out junk files and repair common Windows errors2Scan for outdated or missing drivers - takes under a minute3Repair Windows errors before they cause bigger problemsUse a simple local test page
<!doctype html>
<html>
<head><meta charset="utf-8"><title>Test</title></head>
<body><h1>Capture test</h1></body>
</html>
Save that text as page.html, run the local-file command, and open the resulting image. This isolates installation problems from remote networking, TLS, redirects, and site JavaScript.
Rank #2
- Features an 8 Megapixel camera for capturing Ultra High Definition live images up to 3264 x 2448 pixels
- High frame rate for lag-free live streaming – streams at up to 30 fps at full HD, and up to 15 fps at 3264 x 2448 pixel
- Fast focusing speed helps minimize interruptions for frequent switching between different materials; features Sony CMOS Image Sensor for exceptional noise reduction and color Reproduction – great for capturing in dimly lit environments
- Designed and made in Taiwan. Multi-jointed stand offers a simple fix for tightening loose joints caused by heavy daily use.Max Shooting Area:13.46 inch x 10.04 inch
- Works with a variety of software and applications on Mac, PC and Chromebook that allows you to use it in different ways. System Requirements - Mac Intel Core i5 CPU 2.5 GHz or higher, OS X 10.10 or higher, Solid-state drive, and 200MB of free hard disk space, 256MB of dedicated video memory (For lag-free live streaming up to 1920 x 1080, and video recording of 1920 x 1080). Windows Recommended Requirements - Microsoft Windows 10,Intel Core i5 CPU 3.40 GHz or higher, 4 GB RAM, 200MB of free hard disk space, 256MB of dedicated video memory (For lag-free live streaming up to 1920 x 1080, and video recording of 1920 x 1080)
Options that matter in production
Viewport width
wkhtmltoimage --width 1440 --disable-smart-width https://example.com desktop.png
--width <int> sets the screen width. The manual describes it as a guideline; --disable-smart-width makes the width strict. A fixed width helps when responsive layouts must be reproducible.
Image quality
wkhtmltoimage --quality 85 https://example.com page.jpg
--quality <int> accepts a value from 0 to 100. It is most relevant to lossy formats such as JPEG. Check the installed help for format-specific behavior.
Wait for JavaScript
wkhtmltoimage --javascript-delay 1500 https://example.com rendered.png
--javascript-delay <msec> waits before rendering; the Debian manual documents a default of 200 milliseconds. Increase it for charts, client-rendered content, or lazy components, but avoid using a large fixed delay when a deterministic readiness signal is available.
Wait for a page status
wkhtmltoimage --window-status ready https://example.com status.png
--window-status <value> waits until the page’s window.status equals the supplied value. Your page must set that value from its own JavaScript, for example window.status = 'ready' after data and fonts have loaded.
Handle load failures deliberately
wkhtmltoimage --load-error-handling ignore https://example.com result.png
--load-error-handling supports documented values including abort, ignore, and skip. Choose based on your pipeline: abort is safer when an incomplete image is unusable; ignore can preserve a partial capture for diagnostics.
Rank #3
- 【3-in-1 Document Camera, Webcam & Visualiser】Equipped with a 5MP HD CMOS image sensor, delivering a maximum resolution of 2592×1944P and smooth Full HD streaming at up to 30 fps. The flexible gooseneck design allows 360° angle adjustment, making it easy to capture images and videos from any angle—whether for video conferencing, online teaching, or flipping the lens for live product demonstrations. Covers up to A3 large format.
- 【 Adjustable LED Fill Light & 5-Level ISO Exposure】Built-in 3-level dimmable LED fill light ensures clear imaging even in dark or backlit environments. The manual ISO exposure adjustment (5 levels) gives you precise control over brightness and sharpness, guaranteeing perfectly exposed images in imperfect lighting conditions—ideal for classroom and home office use.
- 【 One-Key Image Flip & Auto Focus】Supports left/right mirroring and 180° image inversion with a single button press, allowing you to freely adjust the display during video chats or distance teaching. Press the "AF" button for instant auto-focus, turning blurry images into crystal-clear views in seconds. Macro shooting captures objects as close as 3.94" (10cm) for detailed close-up demonstrations.
- 【 Wide Application for Teaching, Home & Office】Versatile enough for distance learning, homeschooling, online tutoring, video conferencing, remote work, making instructional videos, art and craft demos, animation, gaming, and live streaming. A perfect companion for educators, content creators, and business professionals alike.
- 【Plug & Play with Broad Compatibility】Comes with a USB-C cable for direct connection to MacBooks and other USB-C devices. Compatible with Windows PC, Mac OS, and Chromebooks, and works seamlessly with Zoom, Google Meet, Microsoft Teams, Skype, TikTok, and OBS. Note: For first-time use, simply select "USB Camera" in your system settings—no additional drivers required. If you encounter any issues, our friendly support team is here to help with a quick solution.
Control local-file access
wkhtmltoimage --disable-local-file-access ./page.html page.png
wkhtmltoimage --disable-local-file-access --allow /srv/site/assets ./page.html page.png
--disable-local-file-access prevents a local input page from reading other local files unless a path is explicitly allowed with --allow <path>. This is an important boundary when HTML can reference files outside its intended directory.
Plugins
--disable-plugins is the documented default. The manual says enabled plugins are likely not to work, so do not design a capture workflow around browser plugins.
Reliable capture procedure
- Start with a local, minimal HTML file to prove that the binary launches.
- Run
wkhtmltoimage --versionand record the version in deployment logs. - Set an explicit width and, when needed, disable smart width.
- For dynamic pages, prefer
--window-status; otherwise choose the shortest delay that consistently includes the content. - Use a format and quality appropriate to the destination. PNG preserves sharp text; JPEG is smaller for photographic content.
- Check the process exit status and verify that the output file exists and has a non-zero size.
- Keep the exact command and build information so another machine can reproduce the result.
Security and isolation
The project’s downloads page warns: “Do not use wkhtmltopdf with any untrusted HTML – be sure to sanitize any user-supplied HTML/JS, otherwise it can lead to complete takeover of the server it is running on!” The warning names wkhtmltopdf, but it is a project-level warning about this tool family and its embedded browser engine. Treat untrusted HTML, CSS, JavaScript, URLs, and local files as hostile input.
- Sanitize user-supplied markup and scripts before rendering.
- Run the renderer in a restricted container or separate low-privilege account.
- Block unnecessary outbound network access and protect cloud metadata endpoints.
- Use
--disable-local-file-accessand narrowly scoped--allowpaths. - Do not place secrets in environment variables or files that the rendered page can read.
The project status documentation discusses WebKit1 security concerns and maintenance limitations. Because the repository is archived and the stable series dates from 2020, wkhtmltoimage is a poor fit for processing arbitrary internet content without strong isolation.
Troubleshooting
“Command not found”
The executable is not on PATH. Run it by absolute path, then add its installation directory to the service user’s PATH. Confirm executable permissions on Unix-like systems.
Rank #4
- 3 in 1 USB document camera, doc camera and webcam: it can be used as a webcam for webinars and conference calls, or flip the lens for live presentations. The document camera of the hose structure can be adjusted to any angle that you want, capturing images and videos from all angles. The maximum size is A3 paper
- Document camera for teachers and classroom with left and right mirroring and auto focus: it can be manually adjusted for image inversion. In the process of video chat or remote video teaching, it supports the left and right mirroring function of freely adjusting the image. Press the focus button once to automatically focus once. Ideal for remote video teaching
- Doc camera for teachers with LED fill light and IOS exposure: It comes with an exposure adjustment button. You can manually adjust the 5-level IOS exposure to ensure you get perfectly sharp images in imperfect environments. The 3-level LED fill light eliminates shooting problems in difficult lighting conditions, allowing you to aim for objects easily in dark and bright environments
- Important & High Compatibility: PAKOTOO document camera is not plug and play. You need to select "USB Camera" in the system that comes with your computer. The USB visualiser is equipped with a USB-C cable, which can be directly used with devices with USB-C interface such as MacBook. Compatible with Windows PCS, Macs and Chromebooks, works with Tiktok, Google Meet, Skyp-Microsoft Teams, Zoom; If you encounter any problems during the use of the product, or the computer does not recognize the camera, please be sure to contact our friendly support team for a quick solution.
- 5MP/1944P USB Document Camera for classroom: Full HD streaming at up to 30 fps, with CMOS image sensor, outputs HD images and video in real-time for excellent noise reduction and color reproduction—ideal for dimly lit environments shoot. Macro captures objects as close as 3.94"
The output is blank or incomplete
Test the URL in a browser, then capture a local static file. If only dynamic pages fail, increase --javascript-delay or implement a window.status readiness signal. Check redirects, TLS errors, blocked resources, and JavaScript console assumptions; this engine is older than current browser engines.
Free tools Windows power users keep installed
One-click scans. No signup required.
Images or styles are missing from a local file
Local-file restrictions or incorrect relative paths are common causes. Use absolute asset paths, run from the expected directory, or allow only the required asset directory with --allow. Do not disable the restriction globally for untrusted input.
The layout changes between machines
Compare binary versions, operating-system packages, fonts, architecture, viewport width, and smart-width behavior. Builds may include different Qt patches, and missing fonts can change line wrapping and image dimensions.
The command hangs
A page may be waiting on network resources or JavaScript. Try a local static page, use a bounded delay rather than an indefinitely waiting status condition, and inspect the page for requests that never complete. Run the process under an external job timeout in production.
Unsupported option or format
Option availability is build-dependent. Read wkhtmltoimage --extended-help and the installed manpage instead of copying flags from another package.
Best Value
- 8MP visualiser with adjustable image reversal: In video chat or image output, the image can be freely adjusted left/right and up/down; you can also manually adjust the reversed image that appears in the device to a normal image. The first usb camera that can manually adjust image reversal
- Adjustable Image Brightness: the usb document camera has brightness buttons, you can manually adjust the image brightness with 10 degree, to make sure that you can get the clear image. 3 levels of brightness adjustable, which can eliminate shooting problems under difficult lighting conditions, allowing you to capture objects in dark and bright environments, and it can also achieve Selfie fill-in function
- Foldable visualiser for teaching: embedded design, occupies a small space after folding, easy to carry; Multi-joint support with multi-angle rotate freely usb camera can capture 2D and 3D objects better and shooting high-definition images and videos. Maximum covering area: 16.5" x 116" in (A3 paper)
- 8MP/2448P document camera for teachers with 30fps: using High-end image sensor, it output ultra-high-definition images and videos live transmission, up to 2448P megapixels. Press the focus button once to automatically focus the document camera once. Moving the object under the lens, the camera will not be arbitrary automatic focus and the image dance. Macro can capture objects as close as 3.94"
- Plug-n-Play & High Compatibility: the Kitchbai Visualiser comes with a USB-C cable that allows for instant plug-and-play operation for distance education and web conferencing. It applicable to Windows PCS (Windows 7/8/10/11) , Macs (OS10.11 or higher), and Chromebooks(38.00 or higher), and work with Tiktok, Google Meet, Skyp-Microsoft Teams, Zoom; it has built-in dual silicon microphones, which can reduce noise and improve sound quality
When a hosted screenshot API is a better fit
If you need current browser behavior, repeatable automation without installing a legacy binary, or a service that handles page cleanup, consider ScreenshotNeo. It is a website screenshot API and MCP server; one GET request returns PNG, JPEG, WebP, or PDF. It removes cookie and consent banners, newsletter popups, and chat widgets before capture, and only clean shots are billed. Bot checks, CAPTCHAs, blank pages, timeouts, failed loads, and cache hits cost nothing, with the result identified by X-Page-Verdict and X-Billed headers.
Or skip the browser setup
Use the API endpoint documented at https://screenshotneo.com/docs/:
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp
Equivalent Python:
import requests
r = requests.get("https://api.screenshotneo.com/v1/shot", params={"access_key": "YOUR_API_KEY", "url": "https://stripe.com"}, timeout=90)
open("shot.webp", "wb").write(r.content)
Equivalent Node.js:
const q = new URLSearchParams({ access_key: 'YOUR_API_KEY', url: 'https://stripe.com' });
const res = await fetch(`https://api.screenshotneo.com/v1/shot?${q}`);
ScreenshotNeo also supports full-page captures with lazy images loaded, CSS-element capture, dark mode, device presets and custom viewports, retina scale, PDF settings, custom CSS and JavaScript, clicks, selector waits, delays, network-idle waits, request blocking, headers, cookies, user agents, authorization, timezone and geolocation, transparent backgrounds, resizing, selectable cache TTLs, signed image links, asynchronous jobs with signed webhooks, bulk capture of up to 100 URLs per call, a usage API, and an OpenAPI specification. Its MCP server exposes take_screenshot, get_page_info, and capture_pdf for Claude, Cursor, and other MCP clients.
The Free plan includes 1,000 screenshots per month with no card. Paid plans start at $5 for 3,000 shots; yearly billing gives two months free, and every feature is available on every plan. Create a free ScreenshotNeo account to try it.
Cost, performance, and maintenance decisions
- Local binary: no per-capture service charge, but you own installation, fonts, process limits, isolation, upgrades, and debugging.
- Rendering speed: static local HTML is usually simpler than a remote, JavaScript-heavy page; network waits and fixed delays directly increase runtime.
- Reproducibility: pin the executable build, OS image, fonts, viewport, flags, and input assets.
- Long-term risk: the archived repository and 2020 stable series mean security and modern web compatibility require explicit review.
Frequently Asked Questions
Does wkhtmltoimage need a graphical desktop?
No. It runs headlessly and does not require a display service.
Can it convert a URL and a local HTML file?
Yes. Pass either the URL or the file path as the input argument, followed by the output filename.
How do I know which image formats my package supports?
Run the installed binary’s --help or --extended-help; builds can differ.
Is version 0.12.6 a current browser engine?
No. The project dates that stable series to June 11, 2020, and its repository was archived in January 2023.
The Tool Desk
Outbyte PC Repair FREEClear out junk files and repair common Windows errorsFree Scan →Outbyte Driver Updater FREEScan for outdated or missing drivers - takes under a minuteDriver Scan →Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

