RLE_SPRITE

Stores the contents of an RLE sprite.

Description

typedef struct RLE_SPRITE
   int w, h;           - width and height in pixels
   int color_depth;    - color depth of the image
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.

Related Discussions

The following threads each have code containing this keyword: Note: You can click on the numbers to jump directly to the posts that reference this page.

Related Projects

The following projects include source code containing this keyword: