ASTC
Renders the page as an ASTC-compressed .astc GPU texture ready to upload directly to a renderer without CPU decoding. Output is sRGB with straight alpha and top-down row order. Use --texture-block-size to trade sharpness for file size and --image-transparent-background to preserve transparent areas.
Example
Render an example SVG as a GPU texture saved to tiger.astc, or see it rendered live in WebGL.
zshot -f tiger.astc \
--browser-width 1024 --browser-height 1024 \
--image-transparent-background \
https://zshot-cli.com/example_assets/tiger/tiger.svg{
"url": "https://zshot-cli.com/example_assets/tiger/tiger.svg",
"output_type": "astc",
"browser_width": 1024,
"browser_height": 1024,
"image_transparent_background": true
}curl -X POST http://127.0.0.1:3000/ \
-H "Content-Type: application/json" \
-d '{"url":"https://zshot-cli.com/example_assets/tiger/tiger.svg","output_type":"astc","browser_width":1024,"browser_height":1024,"image_transparent_background":true}' \
-o tiger.astc