--pdf-scale
- CLI
- --pdf-scale
- REST
- pdf_scale
Scales the page content in the PDF. Takes 0.1 to 2.
Example
zshot -f page.pdf \
--pdf-scale 0.8 \
https://zshot-cli.com/example_assets/hello_zshot/{
"url": "https://zshot-cli.com/example_assets/hello_zshot/",
"output_type": "pdf",
"pdf_scale": 0.8
}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":"pdf","pdf_scale":0.8}' \
-o page.pdf