Hardware FixRecommendedDevice not working? Your driver may be the problemCheck updates for common hardware issues.Fix DriversHalloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PC×
Skip to content
World desk4 min

Puppeteer Screenshot Is Blurry Only When Saved as JPEG: How to Diagnose It

When a Puppeteer screenshot is blurry only as JPEG, compare PNG and JPEG at matching pixel dimensions before changing quality. Here’s what to check.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

If a Puppeteer screenshot looks blurry as JPEG but sharp as PNG, JPEG encoding or its quality setting is a likely difference—but it is not proven until you compare files captured at the same pixel dimensions. Capture both formats with identical settings, inspect them at native size, and check for resizing after capture before changing your code.

Compare PNG and JPEG under identical capture settings

Start with a PNG control, then capture a JPEG without changing the viewport, device scale factor, clip, or full-page setting. Record both files’ pixel width and height. Compare them at native size; a viewer, content system, or messaging app may resize an image for display.

As an Amazon Associate I earn from qualifying purchases.

const png = await page.screenshot({
  type: 'png',
  fullPage: true,
});

const jpeg = await page.screenshot({
  type: 'jpeg',
  quality: 90,
  fullPage: true,
});

This is a controlled comparison, not a guaranteed fix. The example uses a deliberate JPEG quality value for illustration, not a universal recommendation. Puppeteer documents quality from 0 to 100; it does not apply to PNG. See the ScreenshotOptions reference and supported image formats.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Interpret what the comparison shows

  • PNG is crisp, JPEG is soft at matching dimensions: JPEG encoding or the selected quality is the likely cause. Try a higher quality and weigh the visible result against the file size you need. The documentation does not prescribe an ideal quality value or quantify the trade-off.
  • JPEG has fewer pixels than PNG: Check capture dimensions, clipping, viewport configuration, and any resizing or recompression after capture. Changing JPEG quality cannot restore detail lost because the image has fewer pixels.
  • Both formats look soft: Investigate the source page and assets, CSS-pixel versus device-pixel dimensions, viewport setup, and downstream image processing. JPEG is not the only plausible cause.

PNG is useful as a lossless control. JPEG is a lossy format in ordinary image-encoding practice, and Puppeteer exposes a quality setting for it; the cited API pages do not provide comparative size or sharpness benchmarks. WebP is also supported, but the documentation cited here does not establish how it compares for your page.

#1 Best Overall
Sale
Apple 2025 MacBook Pro Laptop with Apple M5 chip with 10‑core CPU and 10‑core GPU: Built for AI, 14.2-inch Liquid Retina XDR Display, 24GB Unified Memory, 1TB SSD Storage; Space Black
  • SUPERCHARGED BY M5 — The 14-inch MacBook Pro with M5 brings next-generation speed and powerful on-device AI to personal, professional, and creative tasks. Featuring all-day battery life and a breathtaking Liquid Retina XDR display with up to 1600 nits peak brightness, it’s pro in every way.*
  • HAPPILY EVER FASTER — Along with its faster CPU and unified memory, M5 features a more powerful GPU with a Neural Accelerator built into each core, delivering faster AI performance. So you can blaze through demanding workloads at mind-bending speeds.
  • BUILT FOR APPLE INTELLIGENCE — Apple Intelligence is the personal intelligence system that helps you write, express yourself, and get things done effortlessly. With groundbreaking privacy protections, it gives you peace of mind that no one else can access your data — not even Apple.*
  • ALL-DAY BATTERY LIFE — MacBook Pro delivers the same exceptional performance whether it’s running on battery or plugged in.
  • APPS FLY WITH APPLE SILICON — All your favorites, including Microsoft 365 and Adobe Creative Cloud, run lightning fast in macOS.*

Make the output format explicit

Puppeteer’s screenshot type defaults to PNG. If you provide a path, Puppeteer can infer the type from the filename extension; explicitly setting type removes ambiguity about the requested encoding. Check the saved file itself rather than relying only on its name. The Page.screenshot() reference documents the method’s output: a Uint8Array by default, or a string when base64 encoding is requested.

await page.screenshot({
  path: 'capture.jpeg',
  type: 'jpeg',
  quality: 90,
});

Check viewport and pixel dimensions

A page is laid out in CSS pixels, while the output image has pixel dimensions. Device scale factor and capture options can affect the resulting dimensions, so compare actual image dimensions rather than assuming the viewport width and height tell the whole story. Keep these settings fixed between the PNG and JPEG captures.

Rank #2
Lenovo ThinkPad L16 Gen 2 Business AI Laptop, 16" FHD+, Intel Core Ultra 7 255U, 32GB DDR5, 1TB SSD, HDMI, Fingerprint, Backlit, Wi-Fi 6E, Long Battery Life, Windows 11 Pro, 7-in-1 USB-C Hub Bundle
  • [Built for Heavy Multitasking & Business Workloads] Configured with 32GB high-bandwidth DDR5 RAM and a 1TB PCIe NVMe M.2 SSD, this laptop handles large spreadsheets, data analysis, presentations, CRM systems, browser-heavy workflows, and AI-assisted business tools with ease—ideal for professionals working across multiple applications all day.
  • [Business-Class Performance with Intel Core Ultra 7] Powered by the Intel Core Ultra 7 255U Processor (12 Cores, 14 Threads, up to 5.2GHz), delivering strong multi-core performance, integrated AI acceleration, and energy-efficient operation. Designed for enterprise users, analysts, developers, and managers who need consistent, reliable performance for long work sessions—not just short bursts.
  • [16" Productivity Display – More Space, Less Scrolling] Features a 16″ WUXGA (1920×1200) IPS display with 16:10 aspect ratio, antiglare coating, and 400 nits brightness, providing more vertical workspace for documents, coding, dashboards, financial models, and multitasking, making it more efficient than standard 16:9 laptops.
  • [Enterprise-Ready Connectivity & Security] 2 x USB-C (Thunderbolt 4, USB 40Gbps), 2 x USB-A (USB 5Gbps) – one always on, 1 x USB-A (hi-speed USB), 1x Headphone / mic comb, 1 x HDMI, 1 x Ethernet (RJ-45), 1 x Kensington Nano Security Slot, Fingerprint, Backlit Keyboard, Wi-Fi 6E + Bluetooth, Windows 11 Pro, supporting business security, remote management, virtualization, and professional workflows.
  • [ThinkPad L16 – Built for Mobility & Long-Term Business Use] Positioned above entry-level models, the ThinkPad L16 Gen 2 offers stronger build quality, MIL-STD-810H–tested durability, all-day battery life, and IT-friendly reliability, making it a smarter choice for corporate environments, managed deployments, remote work, and professionals upgrading from E-series or consumer laptops.

page.viewport() reports the viewport configured through page.setViewport() or the connection’s default viewport; it does not inspect the actual rendered viewport. Puppeteer documents that distinction in its Page.viewport() reference. If the output is unexpectedly small, inspect how the page was connected and configured as well as the screenshot call.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Troubleshoot common causes

Symptom What to check Next step
JPEG looks soft; PNG is sharp Were both files captured with the same options and pixel dimensions? If dimensions match, raise JPEG quality and compare again at native size.
JPEG is smaller in pixel dimensions Viewport, device scale factor, clip, full-page option, or later resizing Hold capture settings constant and inspect the saved file before and after any processing.
Both files look blurry Source assets, page rendering, capture dimensions, or downstream scaling Use the PNG control and inspect the page and image-processing path separately.
File extension and expected encoding disagree Whether type was inferred from the path or specified explicitly Set type directly and verify the saved image.
quality appears to have no effect Whether the screenshot is actually being saved as JPEG Set type: 'jpeg'; Puppeteer’s quality setting does not apply to PNG.

The available information does not identify the root cause in any particular case. The Puppeteer and browser versions, screenshot call, quality value, configured viewport and device scale factor, saved pixel dimensions, and any downstream image processing all matter.

Rank #3
Sale
Apple 2026 MacBook Pro Laptop with Apple M5 Pro chip with 15-core CPU and 16-core GPU: Built for AI, 14.2-inch Liquid Retina XDR Display, 24GB Unified Memory, 1TB SSD, Wi-Fi 7; Space Black
  • FAST RUNS IN THE FAMILY — The 14-inch MacBook Pro with the M5 Pro or M5 Max chip brings next-generation speed and powerful on-device AI to personal, professional, and creative tasks. With all-day battery life, double the starting storage,* and a breathtaking Liquid Retina XDR display, it’s pro in every way.*
  • BUCKLE UP — Along with a next-generation CPU, faster unified memory, and up to 2x faster SSD storage,* M5 Pro and M5 Max feature a more powerful GPU with a Neural Accelerator built into each core, delivering faster AI performance and on-device training capabilities. So you can blaze through demanding workloads at mind-bending speeds.
  • BUILT FOR AI — Apple silicon, and every major component that powers it, is designed to run demanding on-device AI workloads like LLM inference and training. And Apple Intelligence helps you write, express yourself, and get things done effortlessly with groundbreaking privacy protections at every step.*
  • ALL-DAY BATTERY LIFE — MacBook Pro delivers the same exceptional performance whether it’s running on battery or plugged in.*
  • MACOS RUNS APPS FAST — All your go-to apps run lightning fast in macOS, including built-in apps like FaceTime and Messages. Plus, built-in virus protection and free software updates help keep your Mac running smoothly and securely.

Or skip the browser setup

If you need a screenshot without managing a Puppeteer browser, ScreenshotNeo returns an image or PDF from one GET request. For a WebP image:

curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp

See the ScreenshotNeo documentation for request options. It removes cookie banners, newsletter popups, and chat widgets before capture; bot checks, blank pages, and failed loads are not billed. Its MCP server lets AI agents take screenshots. The free plan includes 1,000 screenshots a month with no card; paid plans start at $5 for 3,000. Sign up for ScreenshotNeo.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Frequently Asked Questions

Does Puppeteer support WebP screenshots?

Yes. Puppeteer documents PNG, JPEG, and WebP as supported screenshot formats.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #4
Dell Precision 7680 Laptop, NVIDIA RTX 2000 Ada 8GB, i7-13850HX, 64GB DDR5 | 16" FHD+ Mobile Workstation, 1TB SSD, Intel 20-Core > Ultra 9 185H, Dell Pro Max, Engineer, Designer, Creator, Win 11 Pro
  • POWERFUL FOR CREATIVITY - The Dell Precision 7000 series, positioned at the apex of the Precision lineup, surpasses the 3000 and 5000 series and aligns closely with the evolving direction of the Dell Pro Max series. This top-tier 7680 features the NVIDIA RTX 2000 Ada 8GB GPU to deliver robust performance for professionals in design, architecture, photography, video editing, and engineering. Furthermore, the series' intelligent design for data science leverages AI to optimize system performance for key applications, enabling accelerated workflow efficiency
  • HIGH PERFORMANCE - Powered by Intel Core i7-13850HX vPro Processor for superior efficiency and speed, 64GB DDR5 CAMM RAM and 1TB PCIe NVMe M.2 SSD for seamless multitasking and fast storage. CAMM was designed specifically to overcome the performance limits of SODIMM while reducing both Z height and routing traces on the PCB to ultimately allow for laptops with both faster RAM and thinner profiles
  • CRISP DISPLAY - 16" FHD+ (1920 x 1200) Anti-Glare 45% NTSC display delivers crisp visuals, supported by the ability to connect 4 external monitors via HDMI, USB-C and Thunderbolt ports at 4K (3840x2160) @60Hz (without docking station). 1080p FHD RGB webcam for crystal-clear video calls
  • VERSATILE CONNECTIVITY - Equipped with 2x Thunderbolt 4, USB-C, 2x USB-A, HDMI, Ethernet (RJ-45), and an Audio combo jack. With Wi-Fi 6E and Bluetooth 5.2, ensuring fast wireless connectivity and compatibility with a wide range of peripherals. A full-size keyboard with a dedicated numeric keypad boosts productivity.
  • OPERATING SYSTEM - Windows 11 Pro 64‑bit, with AI‑powered Copilot, offers intelligent assistance to streamline complex professional workflows, enhance productivity, and support advanced multitasking across demanding applications. Built for workstation‑class computing, it delivers enterprise‑grade security and IT manageability

What does Page.screenshot() return by default?

It returns a Uint8Array by default; requesting base64 encoding returns a string.

Best Value
Lenovo 15.6" Essential Laptop, 2026 Edition, 8GB DDR5 256GB SSD
  • POWERFUL PERFORMANCE FOR PRODUCTIVITY: Equipped with Intel 4-Core CPU and 8GB DDR5 RAM, this 2026 Edition Lenovo laptop delivers smooth multitasking for small business operations, student assignments, and daily office work. The 256GB SSD ensures fast boot times and quick file access, keeping you efficient throughout your workday.
  • CRYSTAL-CLEAR VISUAL EXPERIENCE: Features a 15.6-inch FHD (1920x1080) anti-glare display that reduces eye strain during extended use. Perfect for video conferences, document editing, spreadsheet analysis, and multimedia content consumption with vibrant colors and sharp details.
  • ALL-DAY BATTERY LIFE: Long-lasting battery keeps you productive without constantly searching for outlets. Ideal for students moving between classes, professionals working remotely, or anyone who needs reliable computing power throughout the day without interruption.
  • PORTABLE AND LIGHTWEIGHT DESIGN: Slim profile and portable construction make this laptop easy to carry in backpacks or briefcases. Perfect for students commuting to campus, business travelers, or remote workers who need computing power on the go without the bulk.
  • READY TO USE OUT OF THE BOX: Pre-installed with Windows 11, offering an intuitive interface, enhanced security features, and compatibility with essential business and educational software. Includes multiple USB ports, HDMI output, and wireless connectivity for seamless integration with your devices.

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.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
PC Slower Than It Used to Be?Free scan - under a minute
Crashes, No Sound, or Screen Glitches?Free driver scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.