Screenshot Examples · Example 8 of 8 in Viewport and Device

A capture at a device pixel ratio of 1.5 (scale=1.5): between a normal and a retina image.

Param
scale
Value
1.5

Asks for a capture at a device pixel ratio of 1.5 (scale=1.5).

scale sets how many image pixels draw one CSS pixel, from 0.5 to 4. The page keeps its 1366 × 768 layout and is drawn with 1.5 times as many pixels in each direction. retina=true is the ratio 2, and scale wins when both are sent. The response links to the image in screenshot_url.

Request

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

ParameterValue
urlqueryhttps://www.deepinfo.com
scalequery1.5

Reference updated