Approved catalog listing
SKILL #4583
skillshunter.net
Home / Software & Development / Rjv Hidpi Fullpage
Listing Approved Approved on: December 3, 2026

Rjv Hidpi Fullpage

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.

Rate this skill

No ratings yet

Editor's 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.

When to Use It

  • 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

SKILL.md

SkillsHunter provides this listing for informational purposes only. Review the skill’s source, license, and required permissions before use. You are responsible for deciding whether to install or run it. Terms of Use

↓ Download .md

High-DPI full-page capture

Goal: one PNG per page where the page fills the full image width, every pixel is real 2x rendering, and nothing is cut off or padded with blank space.

Find your symptom

Symptom Go to
Image is not twice the layout width The one rule
Page rendered small inside a large blank canvas The one rule (launch flag)
Only the first screen of the body shows, or a blank band sits above the footer Why inner panels are unclipped
A marketing site's layout changed in the shot UNCLIP=0
capture.sh exited 3 Very tall pages
Asked to screenshot every page or report rjv-page-crawl

The one rule that makes it high-DPI

Set density through viewport emulation, as the third number:

agent-browser --session S set viewport 1920 1080 2

This gives a 3840 px wide image of a 1920 px wide layout.

Never use the Chrome launch flag --force-device-scale-factor=2. It renders the page small inside a large blank canvas. Get more resolution only from the viewport scale: upscaling an image or changing its DPI metadata adds no detail.

Capture a page

Open the page in a session, sign in, click the tab you want, close popups. Then run the capture.sh bundled in this skill's folder (~/.agents/skills/rjv-hidpi-fullpage/ when installed with npx skills):

capture.sh SESSION out.png [1920] [2]

The script:

  1. sets the viewport to the width at 2x,
  2. waits for network idle and fonts,
  3. scrolls the window and every inner scroll panel so lazy content loads,
  4. lets inner scroll panels grow to their content (UNCLIP=0 to skip),
  5. returns to the top, takes the full-page screenshot,
  6. fails if the width is not width × scale, and warns if the image is shorter than the page.

Exit codes: 0 ok, 1 density or screenshot failed, 3 image cut off (very tall pages—keep the image and note the cut-off height).

Why inner panels are unclipped

Many back-office apps put the page body in a panel fixed to a share of the window height (for example 75vh) that scrolls on its own. A full-page shot then shows only the first screen of that panel. Making the window taller does not fix it: the panel grows with the window and leaves a blank band above the footer. Setting the panel and its clipping ancestors to height: auto in the live browser shows the whole content once, top to bottom. It changes nothing on the server.

For a marketing site whose layout must be preserved exactly, use UNCLIP=0.

Always look at the result

A correct width does not prove a good shot. Open two views of the image: a resized copy of the whole page, and a crop at full size. Done when all three hold:

  • the resized copy shows the header at the top, the footer at the bottom, and no blank band between,
  • no popup or loading overlay covers content,
  • text in the full-size crop is crisp.

Evidence

A back-office dashboard, September 2026: the body lived in a 75vh scroll panel. Stretching the viewport left a 25vh blank band; unclipping produced 3840 × 6926 with the footer directly under the last card, and a full-size crop showed crisp text.

View original Markdown
---
name: rjv-hidpi-fullpage
description: "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."
---

# High-DPI full-page capture

Goal: one PNG per page where the page fills the full image width, every
pixel is real 2x rendering, and nothing is cut off or padded with blank
space.

## Find your symptom

| Symptom | Go to |
|---|---|
| Image is not twice the layout width | The one rule |
| Page rendered small inside a large blank canvas | The one rule (launch flag) |
| Only the first screen of the body shows, or a blank band sits above the footer | Why inner panels are unclipped |
| A marketing site's layout changed in the shot | `UNCLIP=0` |
| `capture.sh` exited 3 | Very tall pages |
| Asked to screenshot every page or report | `rjv-page-crawl` |

## The one rule that makes it high-DPI

Set density through viewport emulation, as the third number:

```sh
agent-browser --session S set viewport 1920 1080 2
```

This gives a 3840 px wide image of a 1920 px wide layout.

**Never use the Chrome launch flag `--force-device-scale-factor=2`.** It
renders the page small inside a large blank canvas. Get more resolution
only from the viewport scale: upscaling an image or changing its DPI
metadata adds no detail.

## Capture a page

Open the page in a session, sign in, click the tab you want, close
popups. Then run the `capture.sh` bundled in this skill's folder
(`~/.agents/skills/rjv-hidpi-fullpage/` when installed with `npx skills`):

```sh
capture.sh SESSION out.png [1920] [2]
```

The script:
1. sets the viewport to the width at 2x,
2. waits for network idle and fonts,
3. scrolls the window and every inner scroll panel so lazy content loads,
4. lets inner scroll panels grow to their content (`UNCLIP=0` to skip),
5. returns to the top, takes the full-page screenshot,
6. fails if the width is not width × scale, and warns if the image is
   shorter than the page.

Exit codes: `0` ok, `1` density or screenshot failed, `3` image cut off
(very tall pages—keep the image and note the cut-off height).

## Why inner panels are unclipped

Many back-office apps put the page body in a panel fixed to a share of
the window height (for example 75vh) that scrolls on its own. A full-page
shot then shows only the first screen of that panel. Making the window
taller does not fix it: the panel grows with the window and leaves a
blank band above the footer. Setting the panel and its clipping ancestors
to `height: auto` in the live browser shows the whole content once, top
to bottom. It changes nothing on the server.

For a marketing site whose layout must be preserved exactly, use `UNCLIP=0`.

## Always look at the result

A correct width does not prove a good shot. Open two views of the image:
a resized copy of the whole page, and a crop at full size. Done when all
three hold:

- the resized copy shows the header at the top, the footer at the bottom,
  and no blank band between,
- no popup or loading overlay covers content,
- text in the full-size crop is crisp.

## Evidence

A back-office dashboard, September 2026: the body lived in a 75vh scroll
panel. Stretching the viewport left a 25vh blank band; unclipping
produced 3840 × 6926 with the footer directly under the last card, and a
full-size crop showed crisp text.

Community Reviews & Field Notes

Tried this skill on your own project? Share the model you used and the results you got.

Add Your Review

Approved reviews appear publicly with the name or role you enter. See the Privacy Notice.