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 problemsTo control wkhtmltoimage screen dimensions, use --width and --height. Width is only a guideline by default; add --disable-smart-width when you need the specified width to stay strict. To capture a particular rectangle, use the separate crop options. The checked wkhtmltoimage reference does not document --viewport-size; that option appears in the cited wkhtmltopdf usage documentation instead.
Set the rendering screen size
Use --width for the screen width and --height for the screen height. These options affect the dimensions used to render the page; they do not, by themselves, guarantee that every page will fit inside an exact-size output bitmap.
wkhtmltoimage --width 1200 --disable-smart-width --height 800 input.html output.png
This asks for a 1200-pixel-wide render with smart width disabled and a screen height of 800. The Ubuntu Noble wkhtmltoimage(1) manpage for packaged version 0.12.6-2build2 describes width as a guideline and says to use --disable-smart-width to make it strict: Ubuntu Noble wkhtmltoimage manpage.
Width: default behavior and strict width
Without --disable-smart-width, the requested width may not be the final width used if page content requires more room. Debian’s documentation for version 0.12.6-2 describes --enable-smart-width as extending the width to fit unbreakable content, and --disable-smart-width as using the specified width even when it is not large enough for that content: Debian wkhtmltoimage implementation documentation.
#1 Best Overall
- CRISP CLARITY: This 23.8″ Philips V line monitor delivers crisp Full HD 1920x1080 visuals. Enjoy movies, shows and videos with remarkable detail
- INCREDIBLE CONTRAST: The VA panel produces brighter whites and deeper blacks. You get true-to-life images and more gradients with 16.7 million colors
- THE PERFECT VIEW: The 178/178 degree extra wide viewing angle prevents the shifting of colors when viewed from an offset angle, so you always get consistent colors
- WORK SEAMLESSLY: This sleek monitor is virtually bezel-free on three sides, so the screen looks even bigger for the viewer. This minimalistic design also allows for seamless multi-monitor setups that enhance your workflow and boost productivity
- A BETTER READING EXPERIENCE: For busy office workers, EasyRead mode provides a more paper-like experience for when viewing lengthy documents
Use smart width when accommodating unbreakable content matters more than keeping a fixed width. Disable it when the render width must remain at the requested value; check the resulting image because content can overflow or fail to fit.
Height: screen height, not a crop boundary
--height sets the screen height. If omitted, the manpage says it is calculated from page content. Do not assume a chosen screen height also crops the resulting image to that height; use crop dimensions when you need a bounded captured rectangle.
Rank #2
- CRISP CLARITY: This 22 inch class (21.5″ viewable) Philips V line monitor delivers crisp Full HD 1920x1080 visuals. Enjoy movies, shows and videos with remarkable detail
- 100HZ FAST REFRESH RATE: 100Hz brings your favorite movies and video games to life. Stream, binge, and play effortlessly
- SMOOTH ACTION WITH ADAPTIVE-SYNC: Adaptive-Sync technology ensures fluid action sequences and rapid response time. Every frame will be rendered smoothly with crystal clarity and without stutter
- INCREDIBLE CONTRAST: The VA panel produces brighter whites and deeper blacks. You get true-to-life images and more gradients with 16.7 million colors
- THE PERFECT VIEW: The 178/178 degree extra wide viewing angle prevents the shifting of colors when viewed from an offset angle, so you always get consistent colors
Crop a rectangle separately from screen dimensions
The crop options define the captured area: --crop-x and --crop-y set its origin, while --crop-w and --crop-h set its width and height. For example, to request a crop starting at the top-left with dimensions 1200 by 800:
wkhtmltoimage --width 1200 --disable-smart-width --crop-x 0 --crop-y 0 --crop-w 1200 --crop-h 800 input.html output.png
This combines render-width settings with a crop rectangle; it is not a promise that arbitrary content will fit those bounds. The option definitions are in the Ubuntu Noble manpage and the Debian implementation documentation.
Rank #3
- Clear visuals. Fluid motion: A 144Hz refresh rate and 1ms MPRT deliver smooth, tear‑free motion across work, gaming, and streaming for clearer, more fluid viewing.
- Eye comfort: TÜV Rheinland 3‑star* certification reduces harmful blue light while preserving stunning color quality without compromise. *TÜV Rheinland 3-star eye comfort certification.
- Wide viewing angle: Get consistent views across a wide 178° /178° viewing angle.
- In-Plane Switching (IPS): See excellent color accuracy and consistency across wide viewing angles with In-plane Switching (IPS) technology.
- Ultra-thin bezels: Maximize your viewing experience with thin bezels.
Does wkhtmltoimage have a –viewport-size option?
Do not substitute --viewport-size for --width and --height based on the references checked here. The official project usage file cited for that option documents it for wkhtmltopdf; the cited wkhtmltoimage manpage lists screen width and height instead: wkhtmltopdf usage documentation.
Confirm the options supported by your installed executable with wkhtmltoimage --help or wkhtmltoimage --extended-help. Exact behavior can vary across distributions and builds; the references above cover Ubuntu Noble’s 0.12.6-2build2 package and Debian’s 0.12.6-2 implementation.
Rank #4
- CURVED FOR ENHANCED ENGAGEMENT: An immersive viewing experience with a curved monitor that wraps more closely around your field of vision; It creates a wider view, enhancing depth perception and minimizing peripheral distraction
- SMOOTH PERFORMANCE FOR SEAMLESS CONTENT: Stay in the action when playing games, watching videos, or working on creative projects; The 100Hz refresh rate reduces lag and motion blur so you don't miss a thing in fast-paced moments¹
- MORE GAMING POWER: Gain the edge with optimizable game settings; Color and image contrast can be adjusted to see scenes more vividly and spot enemies hiding in the dark; Game Mode adjusts any game to fill the screen so you can view every detail²
- KEEP IT EASY ON THE EYES: Care for your eyes and stay comfortable, even during long sessions; Advanced eye comfort technology certified by TÜV reduces eye strain by minimizing blue light and reducing irritating screen flicker²
- INCREASED VERSATILITY: Connect to more; Plug devices straight into your monitor for increased flexibility, making your computing environment even more convenient
Choose the right option for the result you need
| Goal | Options to use | What to expect |
|---|---|---|
| Choose the page’s render width | --width |
Width is a guideline by default. |
| Keep the specified width even if content is wider | --width and --disable-smart-width |
Width expansion for unbreakable content is disabled; content may not fit. |
| Choose a screen height | --height |
If omitted, height is calculated from page content. |
| Capture a selected rectangle | --crop-x, --crop-y, --crop-w, --crop-h |
Sets crop origin and dimensions independently of screen size. |
Set dimensions using --viewport-size |
Do not assume it is a wkhtmltoimage option |
The cited usage file documents it for wkhtmltopdf, not the cited image-command reference. |
Troubleshoot unexpected dimensions
- The output is wider than
--width. Smart width may be extending the render to accommodate unbreakable content. Try--disable-smart-widthand inspect whether content overflows or is clipped. - The image height does not match
--height. Treat--heightas a screen dimension, not automatically as a crop bound. Set crop dimensions when the target is a particular captured rectangle. - The command rejects an option. Check
wkhtmltoimage --helpor--extended-helpfor the installed build; do not infer image-command support fromwkhtmltopdfdocumentation. - The page layout differs from expectations. Verify the actual image for the target HTML and build. The documented controls do not promise that arbitrary page content, overflow, or layout will conform exactly to the requested dimensions.
Or skip the browser setup
If the goal is simply to get a website screenshot without configuring a local capture command, ScreenshotNeo offers a one-request screenshot API. It can return PNG, JPEG, WebP, or PDF; its clean-shot steps accept consent banners and remove 60+ known consent platforms, newsletter popups, and chat widgets, and each step can be turned off. Bot checks, blank pages, timeouts, failed loads, and cache hits are not billed, with response headers reporting the page verdict and billing status. An MCP server provides screenshot tools for AI agents.
cURL example, adapted to capture the requested target URL:
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 →Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://example.com -o shot.webp
See the ScreenshotNeo API documentation for request options. The Free plan includes 1,000 shots per month with no card; paid plans start at $5 for 3,000 shots. Sign up for 1,000 free screenshots a month, no card required.
Quick Recap
Best Value
- 【INTEGRATED SPEAKERS】Whether you're at work or in the midst of an intense gaming session, our built-in speakers provide rich and seamless audio, all while keeping your desk clutter-free.
- 【EASY ON THE EYES】 Protect your eyes and enhance your comfort with Blue-Light Shift technology. This feature reduces harmful blue light emissions from your screen, helping to alleviate eye strain during long hours of use and promoting healthier viewing habits.
- 【WIDEN YOUR PERSPECTIVE】Our sleek minimal bezel design ensures undivided attention. The nearly bezel-free display seamlessly connects in a dual monitor arrangement, delivering an unobstructed view that lets you focus on more at once, completely distraction-free.
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.




