---
name: "al_get_pixel_block_width"
section: "3alleg5"
platform: "linux"
package: "allegro5-doc"
version: "2:5.2.10.1+dfsg-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/al_get_pixel_block_width/3alleg5"
---

# al\_get\_pixel\_block\_width(3alleg5)

Allegro 5 API

## NAME

al\_get\_pixel\_block\_width - Allegro 5 API

## SYNOPSIS

-

  ```
  #include <allegro5/allegro.h>
  int al_get_pixel_block_width(int format)
  ```

## DESCRIPTION

Return the width of the the pixel block for this format.

## SINCE

5\.1.9.

## SEE ALSO

ALLEGRO\_PIXEL\_FORMAT(3alleg5), al\_get\_pixel\_block\_size(3alleg5), al\_get\_pixel\_block\_height(3alleg5)
