Screenshot Examples · Example 7 of 8 in Viewport and Device

A retina screenshot (retina=true): twice the pixel density, for a sharper image of the same layout.

Param
retina
Value
true

Asks for a high-density capture (retina=true).

The page keeps its 1366 × 768 layout but is drawn at twice the pixel density, so the image has twice the pixels in each direction. scale sets any other ratio and takes precedence over retina.

Request

What this example sends. Every parameter is documented on Screenshot; the exact request is in the code panel.

ParameterValue
urlqueryhttps://www.deepinfo.com
retinaquerytrue

Reference updated