--texture-block-size
- CLI
- --texture-block-size
Sets the ASTC pixel block size for ASTC and KTX output. Smaller blocks preserve more detail at the cost of larger files.
| Value | Bits per pixel |
|---|---|
4x4 | 8.00 |
5x4 | 6.40 |
5x5 | 5.12 |
6x5 | 4.27 |
6x6 | 3.56 |
8x5 | 3.20 |
8x6 | 2.67 |
10x5 | 2.56 |
10x6 | 2.13 |
8x8 | 2.00 |
10x8 | 1.60 |
10x10 | 1.28 |
12x10 | 1.07 |
12x12 | 0.89 |
Example
zshot -f page.astc \
--texture-block-size 4x4 \
https://zshot-cli.com/example_assets/hello_zshot/{
"url": "https://zshot-cli.com/example_assets/hello_zshot/",
"output_type": "astc",
"texture_block_size": "4x4"
}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":"astc","texture_block_size":"4x4"}' \
-o page.astc