The Tool Desk
Outbyte PC Repair FREEClear out junk files and repair common Windows errorsFree Scan →Outbyte Driver Updater FREEFix the driver behind crashes, sound loss and screen glitchesFind Drivers →On Ubuntu 24.04 (Noble), install the wkhtmltopdf package; it also provides the wkhtmltoimage command. Run sudo apt update, then sudo apt install wkhtmltopdf. Confirm it is available with command -v wkhtmltoimage and check its version with wkhtmltoimage --version.
Install the Ubuntu 24.04 package
- Refresh APT’s package metadata:
sudo apt update - Install the package that contains the image utility:
sudo apt install wkhtmltopdf - Check that the executable is on your PATH and print its version:
command -v wkhtmltoimagewkhtmltoimage --version
The package name and command name differ: Ubuntu’s Noble wkhtmltopdf package provides wkhtmltoimage. Ubuntu lists version 0.12.6-2build2 for amd64 in its Noble package listing, and the Noble manpage identifies the utility as supplied by that package. The package is in Ubuntu’s Universe repository. These commands follow the package information; they have not been independently run here.
As an Amazon Associate I earn from qualifying purchases.
Capture a webpage to an image
The documented command form is wkhtmltoimage [OPTIONS]... <input file> <output file>. To render a URL to a PNG, for example:
Outdated Drivers Are Slowing You Down
One free scan finds every outdated or missing driver and matches the right update for your exact hardware.Free scan · exact hardware matchWindows Errors? Fix Them Before They Spread
Repair common Windows errors and clear accumulated junk for a smoother, more stable PC - no reinstall needed.Free scan · no reinstallwkhtmltoimage https://example.com page.png
This is an illustrative invocation, not a reported test result. Consult wkhtmltoimage --help or the Noble manpage for available command-line options.
#1 Best Overall
Ubuntu’s package or an upstream build?
For Ubuntu 24.04, the Ubuntu repository package is the direct Noble package. The upstream download page lists stable series 0.12.6, released June 11, 2020, and lists Ubuntu 22.04 (Jammy) among its Ubuntu download targets—not Ubuntu 24.04 (Noble). A Jammy download is therefore a separate compatibility choice, not an upstream build listed for Noble.
Build variants can matter: the project explains that some features require its patched Qt, and distribution packages built without those patches may behave differently. If your application depends on one of those features, verify that the package variant you choose supports the specific behavior you need rather than assuming the Ubuntu package matches an upstream example. See the upstream downloads page and its project status and patched-Qt notes.
Rank #2
Troubleshoot installation and rendering
- APT cannot find the package: Run
sudo apt updateand confirm that the Universe repository is enabled. Ubuntu places the Noble package there. wkhtmltoimageis not found: Check the result ofcommand -v wkhtmltoimageand review whetherapt installcompleted successfully. The Noble manpage documents the executable’s package relationship.- The rendered result differs from an upstream example: Check whether the expected behavior relies on patched Qt. Upstream warns that distribution builds and its patched build can behave differently.
- You are considering an upstream Ubuntu binary: The upstream download list names Jammy, not Noble, as an Ubuntu target. Do not treat a Jammy package as the officially listed Noble build; check compatibility and required rendering behavior before choosing it.
Handle untrusted HTML safely
The wkhtmltopdf project 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!” Treat HTML and JavaScript from users as untrusted input and sanitize it before rendering. Read the project’s security and status notes before exposing a renderer to user-supplied content.
Or skip the browser setup
If your goal is to capture a website screenshot through an API rather than install a local renderer, ScreenshotNeo accepts a URL in one GET request and returns an image or PDF. For example, using cURL:
Rank #3
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://example.com -o shot.webp
Quick Recap
Best Value
Rank #4
See the ScreenshotNeo API documentation for setup and options. It can accept cookie and consent banners and remove known consent platforms, newsletter popups, and chat widgets before capture; bot checks, blank pages, timeouts, failed loads, and cache hits are not billed. Its MCP server offers screenshot tools for AI agents, and the Free plan includes 1,000 screenshots a month with no card; paid plans start at $5 for 3,000 shots. Sign up free for 1,000 screenshots a month, with no card required.
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.
Quick wins for a faster PC:
Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Clear out junk files and repair common Windows errorsFree Scan →Scan for outdated or missing drivers - takes under a minuteDriver Scan →




