# --texture-block-size

Source: https://zshot-cli.com/reference/flags/image/texture-block-size/
Markdown: https://zshot-cli.com/reference/flags/image/texture-block-size/index.md
Section: [Reference](https://zshot-cli.com/reference/) › [Flags](https://zshot-cli.com/reference/flags/) › [Image](https://zshot-cli.com/reference/flags/image/)
CLI: `--texture-block-size` · REST: [`texture_block_size`](https://zshot-cli.com/reference/server/api/schema/#texture_block_size)
Value: `BLOCK` · Default: `6x6`

Sets the ASTC pixel block size for [ASTC](/reference/formats/astc) and [KTX](/reference/formats/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

**CLI**

```sh
zshot -f page.astc \
  --texture-block-size 4x4 \
  https://zshot-cli.com/example_assets/hello_zshot/
```

**JSON** — `POST /` body for the [API](/reference/server/api), Pro license

```json
{
  "url": "https://zshot-cli.com/example_assets/hello_zshot/",
  "output_type": "astc",
  "texture_block_size": "4x4"
}
```

**curl**

```sh
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
```

## Related

Topics:

- [ASTC](https://zshot-cli.com/reference/formats/astc/)
- [KTX](https://zshot-cli.com/reference/formats/ktx/)

## Navigation

- [Examples](https://zshot-cli.com/examples/)
- [Download](https://zshot-cli.com/download/)
- [Purchase](https://zshot-cli.com/purchase/)
- [Reference](https://zshot-cli.com/reference/)
  - [Formats](https://zshot-cli.com/reference/formats/)
  - [Flags](https://zshot-cli.com/reference/flags/)
    - [Common](https://zshot-cli.com/reference/flags/common/)
    - [Agents](https://zshot-cli.com/reference/flags/agents/)
    - [Archive](https://zshot-cli.com/reference/flags/archive/)
    - [Browser](https://zshot-cli.com/reference/flags/browser/)
    - [Diagnostics](https://zshot-cli.com/reference/flags/diagnostics/)
    - [Document](https://zshot-cli.com/reference/flags/document/)
    - [Image](https://zshot-cli.com/reference/flags/image/)
      - [--bmp-pixel-format](https://zshot-cli.com/reference/flags/image/bmp-pixel-format/)
      - [--image-duration](https://zshot-cli.com/reference/flags/image/image-duration/)
      - [--image-framerate](https://zshot-cli.com/reference/flags/image/image-framerate/)
      - [--image-height](https://zshot-cli.com/reference/flags/image/image-height/)
      - [--image-selector](https://zshot-cli.com/reference/flags/image/image-selector/)
      - [--image-transparent-background](https://zshot-cli.com/reference/flags/image/image-transparent-background/)
      - [--image-width](https://zshot-cli.com/reference/flags/image/image-width/)
      - **--texture-block-size**
    - [Navigator](https://zshot-cli.com/reference/flags/navigator/)
    - [Security](https://zshot-cli.com/reference/flags/security/)
    - [Server](https://zshot-cli.com/reference/flags/server/)
    - [Video](https://zshot-cli.com/reference/flags/video/)
  - [Agents](https://zshot-cli.com/reference/agents/)
  - [Configuration](https://zshot-cli.com/reference/configuration/)
  - [Crawling](https://zshot-cli.com/reference/crawling/)
  - [Devices](https://zshot-cli.com/reference/devices/)
  - [Docker](https://zshot-cli.com/reference/docker/)
  - [Exit Codes](https://zshot-cli.com/reference/exit_codes/)
  - [Linux](https://zshot-cli.com/reference/linux/)
  - [LLM Connections](https://zshot-cli.com/reference/llm_connections/)
  - [npm](https://zshot-cli.com/reference/npm/)
  - [LLM Formatting](https://zshot-cli.com/reference/llm_formatting/)
  - [Local Inputs](https://zshot-cli.com/reference/inputs/)
  - [Navigator](https://zshot-cli.com/reference/navigator/)
  - [Security](https://zshot-cli.com/reference/security/)
  - [Server](https://zshot-cli.com/reference/server/)
  - [Shell completions](https://zshot-cli.com/reference/shell_completions/)
  - [Storage](https://zshot-cli.com/reference/storage/)
  - [Timeouts](https://zshot-cli.com/reference/timeouts/)
  - [Web Bot Auth](https://zshot-cli.com/reference/web_bot_auth/)
- [Support](https://zshot-cli.com/support/)
- [Changelog](https://zshot-cli.com/changelog/)

Site index: https://zshot-cli.com/llms.txt

