{"data":{"slug":"discovered-dd79b195a9838714a5a74a5696d428c7f1a4878a5f9ecaa8","title":"Rjv Hidpi Fullpage","summary":"Take a full-page, full-width, genuinely high-DPI (2x) screenshot of a web page or signed-in web app using agent-browser and capture.sh, including apps with scrollable content inside fixed panels.","url":"https:\/\/skillshunter.net\/skills\/discovered-dd79b195a9838714a5a74a5696d428c7f1a4878a5f9ecaa8","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/discovered-dd79b195a9838714a5a74a5696d428c7f1a4878a5f9ecaa8","markdown_url":"https:\/\/skillshunter.net\/skills\/discovered-dd79b195a9838714a5a74a5696d428c7f1a4878a5f9ecaa8.md","download_url":"https:\/\/skillshunter.net\/skills\/discovered-dd79b195a9838714a5a74a5696d428c7f1a4878a5f9ecaa8\/download","category":{"slug":"software-development","name":"Software & Development"},"editor_note":"Before running the capture script, ensure the viewport is set to the desired width at 2x scale using `agent-browser --session S set viewport 1920 1080 2`. Also, verify that the page is fully loaded, signed in, and popups are closed.","instructions":"---\nname: rjv-hidpi-fullpage\ndescription: \"Mechanism: take a full-page, full-width, genuinely high-DPI (2x) screenshot of a web page or signed-in web app with agent-browser and capture.sh, including apps whose content scrolls inside a fixed panel. Crawling an app's read-only pages into a catalogue lives in rjv-page-crawl. Triggers: high resolution screenshot, full page screenshot, retina screenshot, 2x screenshot, hi-dpi capture.\"\n---\n\n# High-DPI full-page capture\n\nGoal: one PNG per page where the page fills the full image width, every\npixel is real 2x rendering, and nothing is cut off or padded with blank\nspace.\n\n## Find your symptom\n\n| Symptom | Go to |\n|---|---|\n| Image is not twice the layout width | The one rule |\n| Page rendered small inside a large blank canvas | The one rule (launch flag) |\n| Only the first screen of the body shows, or a blank band sits above the footer | Why inner panels are unclipped |\n| A marketing site's layout changed in the shot | `UNCLIP=0` |\n| `capture.sh` exited 3 | Very tall pages |\n| Asked to screenshot every page or report | `rjv-page-crawl` |\n\n## The one rule that makes it high-DPI\n\nSet density through viewport emulation, as the third number:\n\n```sh\nagent-browser --session S set viewport 1920 1080 2\n```\n\nThis gives a 3840 px wide image of a 1920 px wide layout.\n\n**Never use the Chrome launch flag `--force-device-scale-factor=2`.** It\nrenders the page small inside a large blank canvas. Get more resolution\nonly from the viewport scale: upscaling an image or changing its DPI\nmetadata adds no detail.\n\n## Capture a page\n\nOpen the page in a session, sign in, click the tab you want, close\npopups. Then run the `capture.sh` bundled in this skill's folder\n(`~\/.agents\/skills\/rjv-hidpi-fullpage\/` when installed with `npx skills`):\n\n```sh\ncapture.sh SESSION out.png [1920] [2]\n```\n\nThe script:\n1. sets the viewport to the width at 2x,\n2. waits for network idle and fonts,\n3. scrolls the window and every inner scroll panel so lazy content loads,\n4. lets inner scroll panels grow to their content (`UNCLIP=0` to skip),\n5. returns to the top, takes the full-page screenshot,\n6. fails if the width is not width \u00d7 scale, and warns if the image is\n   shorter than the page.\n\nExit codes: `0` ok, `1` density or screenshot failed, `3` image cut off\n(very tall pages\u2014keep the image and note the cut-off height).\n\n## Why inner panels are unclipped\n\nMany back-office apps put the page body in a panel fixed to a share of\nthe window height (for example 75vh) that scrolls on its own. A full-page\nshot then shows only the first screen of that panel. Making the window\ntaller does not fix it: the panel grows with the window and leaves a\nblank band above the footer. Setting the panel and its clipping ancestors\nto `height: auto` in the live browser shows the whole content once, top\nto bottom. It changes nothing on the server.\n\nFor a marketing site whose layout must be preserved exactly, use `UNCLIP=0`.\n\n## Always look at the result\n\nA correct width does not prove a good shot. Open two views of the image:\na resized copy of the whole page, and a crop at full size. Done when all\nthree hold:\n\n- the resized copy shows the header at the top, the footer at the bottom,\n  and no blank band between,\n- no popup or loading overlay covers content,\n- text in the full-size crop is crisp.\n\n## Evidence\n\nA back-office dashboard, September 2026: the body lived in a 75vh scroll\npanel. Stretching the viewport left a 25vh blank band; unclipping\nproduced 3840 \u00d7 6926 with the footer directly under the last card, and a\nfull-size crop showed crisp text.\n","use_cases":["Capture marketing site layouts with exact preservation","Take high-DPI screenshots of web apps with scrollable panels","Generate full-page screenshots for documentation or testing","Capture read-only pages for cataloging with rjv-page-crawl"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/rjvim\/ai-skills\/blob\/9a942086adef21dbd0c061d9d9e8fd5f43328bf6\/skills\/rjv-hidpi-fullpage\/SKILL.md","source_commit":"9a942086adef21dbd0c061d9d9e8fd5f43328bf6","license":null,"version":null,"listing_approved_at":"2026-12-03","created_at":"2026-12-02T09:09:48.000000Z","updated_at":"2026-12-03T16:19:55.000000Z","seo_title":"High-DPI Full-Page Screenshot Tool for Web Pages and Apps","seo_description":"Capture high-resolution, full-page screenshots of web pages and apps with precise 2x scaling, ensuring no content is clipped or padded with blank space.","seo_keywords":["high-dpi screenshot","full-page capture","retina screenshot","2x screenshot","web app screenshot","agent-browser capture","viewport emulation","unclipping fixed panels"]}}