--image-height
- CLI
- --image-height
- REST
- image_height
Scales the image to this height in pixels. Without --image-width, the width will be the browser width.
Example
zshot -f page.png \
--image-width 960 \
--image-height 540 \
https://zshot-cli.com/example_assets/hello_zshot/{
"url": "https://zshot-cli.com/example_assets/hello_zshot/",
"output_type": "png",
"image_width": 960,
"image_height": 540
}curl -X POST http://127.0.0.1:3000/ \
-H "Content-Type: application/json" \
-d '{"url":"https://zshot-cli.com/example_assets/hello_zshot/","output_type":"png","image_width":960,"image_height":540}' \
-o page.png