RLE_SPRITE(3)
πΈ RLE_SPRITE(3) β Allegro manual, bestie πΈ
β¨ NAME β¨
RLE_SPRITE β Stores the contents of an RLE sprite. Allegro game programming library. iconic, fr fr.
π SYNOPSIS π
#include <allegro.h>
typedef struct RLE_SPRITE
π¦ DESCRIPTION π¦
The struct is giving:
int w, h; - width and height in pixels
int color_depth; - color depth of the image
So w and h are width and height in pixels, and color_depth is the color depth of the image. slay.
RLE sprites store the image in a simple run-length encoded format, where repeated zero pixels are replaced by a single length count, and strings of non-zero pixels are preceded by a counter giving the length of the solid run. Read chapter "RLE sprites" for a description of the restrictions and how to obtain/use this structure. iykyk.
π SEE ALSO π
Allegro manual, version 4.4.3 β that's the footer tea, bestie. periodt π π«Ά
π¦ where this page comes from
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms