October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run ScanOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk2 min

Puppeteer Screenshot Blurry क्यों है? DPI और Resolution ठीक करने का तरीका

Puppeteer screenshot धुंधला हो तो पहले वास्तविक image dimensions देखें, फिर viewport, deviceScaleFactor, capture area, encoding और Puppeteer–Chromium versions की जाँच करें।
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Puppeteer screenshot blurry दिखे तो कोई एक DPI switch बदलने के बजाय चार चीजें अलग-अलग जाँचें: CSS viewport, deviceScaleFactor, इमेज encoding और Puppeteer–Chromium version pairing। पहले सेव की गई फ़ाइल के असली pixel dimensions और format देखें; फिर capture area और compression जाँचें। अधिक scale factor pixel dimensions बढ़ा सकता है, लेकिन वह वेबपेज में पहले से गायब image detail नहीं जोड़ता।

पहले समझें: CSS viewport, pixel dimensions और DPI अलग हैं

page.setViewport() CSS में layout का आकार तय करता है। deviceScaleFactor उस CSS viewport के लिए device pixels का अनुपात तय करता है। इसलिए 1280×800 CSS viewport को scale factor 2 के साथ माँगना सामान्यतः 2560×1600 output pixels का अनुरोध है। यह उदाहरण अपेक्षित संबंध समझाता है, हर environment में सत्यापित नतीजे की गारंटी नहीं। सेव की गई फ़ाइल का वास्तविक आकार जाँचें।

As an Amazon Associate I earn from qualifying purchases.

इमेज viewer में फ़ाइल कितनी बड़ी दिखाई देती है, यह उसके pixel dimensions का भरोसेमंद विकल्प नहीं है: viewer उसे स्क्रीन पर बड़ा या छोटा दिखा सकता है। “DPI” कहकर समस्या बताने पर भी पहले तय करें कि आपका लक्ष्य CSS layout का आकार है, output pixel count है या छपे हुए पन्ने का physical size। इस Puppeteer troubleshooting में viewport और device pixels सीधे जाँचने योग्य मान हैं; कोई सार्वभौमिक DPI setting सभी blur ठीक नहीं करती।

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

एक साफ शुरुआती configuration से जाँचें

यह उदाहरण 1280×800 CSS viewport, scale factor 2 और PNG माँगता है। इसे अपने मौजूदा browser setup में चलाएँ।

#1 Best Overall
Philips 24 Inch Computer Monitor FHD 100Hz VA VESA Flicker-Free, 241V8LB
  • 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
await page.setViewport({
  width: 1280,
  height: 800,
  deviceScaleFactor: 2,
});

await page.goto(url, { waitUntil: 'networkidle2' });
await page.screenshot({ path: 'capture.png', type: 'png' });

पहले output file की dimensions और file type पढ़ें। अगर pixels उम्मीद से कम हैं, capture settings और browser-version pairing देखें। अगर dimensions ठीक हैं लेकिन JPEG या WebP धुंधले हैं, encoding को अलग से जाँचें। अगर केवल कुछ text या images soft हैं, तो उन elements की rendering पर ध्यान दें।

Capture area सही चुनें: viewport, full page या clip

सामान्य screenshot viewport का दृश्य क्षेत्र capture करता है। fullPage: true पूरे document के लिए है; clip किसी परिभाषित rectangle के लिए। ये options क्या capture होगा, यह बदलते हैं—ये अपने-आप viewport pixel density नहीं बढ़ाते।

Rank #2
Philips 22 Inch Computer Monitor FHD 100Hz VA VESA Flicker-Free, 221V8LB
  • 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

Puppeteer 25.12.0 के वर्तमान ScreenshotOptions reference में captureBeyondViewport का default बिना clip के false और clip दिए जाने पर true बताया गया है। पुराने issue workaround को कॉपी करने से पहले अपने screenshot mode और मौजूदा API reference से मिलान करें। ScreenshotOptions API reference और Puppeteer screenshot guide देखें।

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

PNG बनाम JPEG या WebP: quality resolution नहीं है

Puppeteer API reference के अनुसार screenshot type का default PNG है। Screenshot quality विकल्प JPEG और WebP जैसे लागू lossy formats की encoding के लिए है; इसका documented मान 0–100 है और यह PNG पर लागू नहीं होता। कम lossy quality फ़ाइल को soft दिखा सकती है, लेकिन quality बढ़ाने से CSS viewport या device pixel dimensions नहीं बदलते।

Rank #3
Sale
Dell 24 Monitor - SE2426H - 23.8-inch FHD (1920x1080) 144Hz 1ms Display, in-Plane Switching (IPS) Technology, AMD FreeSync™, TÜV 3-Star 2X HDMI, Tilt
  • 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.

Encoding को अलग करने के लिए पहले PNG लें। यदि PNG स्पष्ट है और JPEG/WebP नरम दिखते हैं, तो उसी capture को उस format में बनाकर quality जाँचें। मसलन, JPEG के लिए:

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

यहाँ 90 केवल एक test setting है, कोई सार्वभौमिक सर्वोत्तम मान नहीं। PNG पर quality सेट करने से resolution बढ़ने की अपेक्षा न करें।

Rank #4
Sale
Samsung 27" Essential S3 (S36GD) Series FHD 1800R Curved Computer Monitor | 100Hz, Game Mode, Advanced Eye Comfort, HDMI and D-sub Ports (LS27D366GANXZA)
  • 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

जब केवल कुछ text या images धुंधली हों

अगर पूरी screenshot नहीं, बल्कि किसी खास हिस्से में blur है, तो अधिक deviceScaleFactor को पहला और अकेला उपाय न मानें। उस हिस्से की जाँच करें:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  • Source image: मूल image में अपेक्षित आकार के लिए पर्याप्त detail है या नहीं। बड़ा output source की अनुपस्थित detail नहीं बना सकता।
  • CSS sizing और transforms: element को असामान्य आकार में scale या transform किया जा रहा है या नहीं।
  • Font और rendering readiness: capture के समय fonts और सामग्री लोड हो चुके हैं या नहीं। Navigation का networkidle2 विकल्प ऊपर उदाहरण में है, लेकिन अपने पृष्ठ के render व्यवहार के अनुसार सुनिश्चित करें कि capture से पहले अपेक्षित सामग्री तैयार है।
  • बाद की image processing: screenshot सेव होने के बाद resize या lossy re-encode तो नहीं हो रहा।

ये लक्षण जाँचने के व्यावहारिक रास्ते हैं; API reference किसी एक कारण को इन लक्षणों का निश्चित निदान नहीं बताता।

Best Value
Sale
Sceptre New 22-Inch Gaming Monitor, FHD 1080p, Up to 144Hz, HDMI, DisplayPort, Built-in Speakers, Machine Black (E225W-FW144 Series, 2026)
  • 【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.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Puppeteer और Chromium versions साथ मिलाएँ

अगर dimensions या quality settings के बावजूद नतीजा अनपेक्षित है, तो Puppeteer और इस्तेमाल किए गए Chromium executable के versions दोनों दर्ज करें। Puppeteer की समर्थित browser pairing या project की वर्तमान compatibility mapping के अनुरूप browser इस्तेमाल करना बेहतर है। केवल scale factor को दोष देने से पहले browser executable और version की पुष्टि करें।

7 दिसंबर 2023 के एक Puppeteer issue में Puppeteer 18.1.0/21.6.0 के साथ external HeadlessChrome 119.0.6045.199 की रिपोर्ट की जाँच में maintainer ने उस मामले के लिए unsupported version pairing पहचानी। यह उस पुराने मामले का निष्कर्ष है, आज के हर mismatch का निदान नहीं। Puppeteer issue #11765 देखें।

Screenshot truncated हो तो minimal reproduction बनाएँ

किसी हिस्से का कट जाना blur से अलग समस्या है: पहले यह तय करें कि screenshot area गलत है या element सचमुच crop हो रहा है। पूरे document के लिए fullPage: true, किसी हिस्से के लिए सही clip, और viewport के लिए setViewport() का उपयोग जाँचें। फिर छोटा reproduction बनाएँ और ये विवरण साथ रखें:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  • Puppeteer और browser versions
  • Operating system
  • Viewport width और height तथा deviceScaleFactor
  • Element के bounds और screenshot options
  • सेव की गई image की वास्तविक dimensions

17 अक्टूबर 2025 की एक रिपोर्ट में Puppeteer 24.4.0, Node 20.17.0 और Linux के साथ scale factor 1 से ऊपर होने पर element truncation का मामला बताया गया था। रिपोर्ट unconfirmed/not reproducible चिह्नित हुई और not planned के रूप में बंद हुई; अकेली यह रिपोर्ट सार्वभौमिक या पुष्ट bug साबित नहीं करती। Puppeteer issue #12479 देखें।

निदान के लिए क्रमवार checklist

  1. फ़ाइल जाँचें: वास्तविक width × height और format नोट करें; viewer में दिख रहे आकार पर निर्भर न रहें।
  2. माँगे गए output से मिलाएँ: CSS viewport और deviceScaleFactor दर्ज करके अपेक्षित pixel dimensions से तुलना करें।
  3. Capture area तय करें: viewport, पूरे document (fullPage) या region (clip) में से सही mode चुनें।
  4. Encoding अलग करें: PNG लें; फिर जरूरत हो तो JPEG/WebP quality की तुलना करें।
  5. स्थानीय blur खोजें: source image, CSS sizing/transforms, font readiness और बाद के resize या re-encode की जाँच करें।
  6. Versions मिलाएँ: Puppeteer और Chromium/browser executable के versions व compatibility दर्ज करें।
  7. Truncation दोहराएँ: छोटा reproduction और ऊपर दिए गए environment तथा bounds विवरण तैयार करें।

Or skip the browser setup

अगर अपना browser setup और screenshot flow बनाए बिना URL से capture चाहिए, तो ScreenshotNeo website screenshot API और MCP server है। इसकी API के लिए एक GET request पर्याप्त है; एक-shot उदाहरण और विकल्प ScreenshotNeo documentation में देखें।

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

Capture से पहले यह consent banner स्वीकार करता है और 60 से अधिक ज्ञात consent platforms, newsletter popups तथा chat widgets हटाता है; इन चरणों को अलग-अलग बंद किया जा सकता है। Bot checks/CAPTCHAs, blank pages, timeouts, failed loads और cache hits के लिए शुल्क नहीं लगता; response में X-Page-Verdict और X-Billed headers बताते हैं कि क्या हुआ। Claude, Cursor और किसी भी MCP client के AI agents के लिए MCP server में take_screenshot, get_page_info और capture_pdf tools हैं। Free plan में बिना card के 1,000 screenshots प्रति माह हैं; paid plans $5 में 3,000 से शुरू होते हैं। बिना card के मुफ्त खाते के लिए साइन अप करें।

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.

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

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.