|
AnimaEngine
1.0.0
Nintendo DS Pokemon Black, White, Black 2, and White 2 sprite extraction and preview toolchain
|
GIF compilation engine utilizing LZW encoding. More...
Go to the source code of this file.
Functions | |
| int | Gif_WriteIndexed (const char *path, const u8 *frames, int frame_count, int width, int height, const RgbaColor *palette, int palette_count, int transparent_index, int delay_cs, int loop_count, int scale) |
| Encodes and writes a sequence of indexed frames to a GIF file. More... | |
GIF compilation engine utilizing LZW encoding.
| int Gif_WriteIndexed | ( | const char * | path, |
| const u8 * | frames, | ||
| int | frame_count, | ||
| int | width, | ||
| int | height, | ||
| const RgbaColor * | palette, | ||
| int | palette_count, | ||
| int | transparent_index, | ||
| int | delay_cs, | ||
| int | loop_count, | ||
| int | scale | ||
| ) |
Encodes and writes a sequence of indexed frames to a GIF file.
| path | Path to write the final GIF file. |
| frames | Pointer to 8-bit indexed frame pixel buffer. Size: (width * height * frame_count). |
| frame_count | Total number of frames in sequence. |
| width | Canvas width in pixels. |
| height | Canvas height in pixels. |
| palette | Pointer to an array of colors defining the color map (palette). |
| palette_count | Total number of entries in color palette (up to 256). |
| transparent_index | Index in the palette mapping transparency, or -1. |
| delay_cs | Base duration between frames in centiseconds (1/100ths of a second). |
| loop_count | Number of loops (0 = infinite). |
| scale | Bilinear scale multiplier applied to output image sizes. |