Remote Screenshot API
-
Description
GET /snapshot?ext=[extension]&compress=[ratio]&orient=[orientation]&zoom=[scale]&left=[left]&top=[top]&right=[right]&bottom=[bottom] HTTP/1.1
-
Possible Responses
Image bytes
-
Notes
[extension]
can bepng
orjpg
[ratio]
range0~1
; if less than 1,jpg
format is used automatically[orientation]
range0~3
:0
portrait, home at bottom1
landscape, home at right2
landscape, home at left3
portrait, home at top
[scale]
range0~3
; default1
; available since1.0.7-1
[left]
,[top]
,[right]
,[bottom]
define a capture region; invalid region means full screen; available since1.0.7-1