mc_addi, /* Addi's algorithm */
mc_median_cut, /* median cut - similar to giflib, hopefully */
mc_mono, /* fixed mono color map */
+ mc_gray, /* 256 gray map */
+ mc_gray4, /* four step gray map */
+ mc_gray16, /* sixteen step gray map */
mc_mask = 0xFF /* (mask for generator) */
} i_make_colors;
od_custom /* custom 8x8 map */
} i_ord_dith;
-typedef struct i_gif_pos_tag {
- int x, y;
-} i_gif_pos;
-
/* passed into i_writegif_gen() to control quantization */
typedef struct i_quantize_tag {
int version;
/* version 2 members after here */
} i_quantize;
-typedef struct i_gif_opts {
- /* each image has a local color map */
- int each_palette;
-
- /* images are interlaced */
- int interlace;
-
- /* time for which image is displayed
- (in 1/100 seconds)
- default: 0
- */
- int delay_count;
- int *delays;
-
- /* user input flags
- default: 0
- */
- int user_input_count;
- char *user_input_flags;
-
- /* disposal
- default: 0 */
- int disposal_count;
- char *disposal;
-
- /* this is added to the color table when we make an image transparent */
- i_color tran_color;
-
- /* image positions */
- int position_count;
- i_gif_pos *positions;
-
- /* Netscape loop extension - number of loops */
- int loop_count;
-
- /* should be eliminate unused colors? */
- int eliminate_unused;
-} i_gif_opts;
-
/* distance measures used by some filters */
enum {
i_dmeasure_euclidean = 0,
#define I_FORMAT_ATTR(format_index, va_index)
#endif
+#ifdef _MSC_VER
+# ifndef vsnprintf
+# define vsnprintf _vsnprintf
+# endif
+# ifndef snprintf
+# define snprintf _snprintf
+# endif
+#endif
+
/*
=item i_DF
=category Data Types