AnimaEngine  1.0.0
Nintendo DS Pokemon Black, White, Black 2, and White 2 sprite extraction and preview toolchain
gif_writer.h
Go to the documentation of this file.
1 
6 #ifndef GIF_WRITER_H
7 #define GIF_WRITER_H
8 
9 #include "common.h"
10 #include "ppm.h"
11 
28  const char *path,
29  const u8 *frames,
30  int frame_count,
31  int width,
32  int height,
33  const RgbaColor *palette,
34  int palette_count,
35  int transparent_index,
36  int delay_cs,
37  int loop_count,
38  int scale
39 );
40 
41 #endif
42 
Common types, macros, and standard library includes used throughout AnimaEngine.
unsigned char u8
Definition: common.h:14
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.
Definition: gif_writer.c:279
Portable Pixmap (PPM) format writer utilities and color structures.
32-bit RGBA color representation struct.
Definition: ppm.h:14