9 JDITHER_NONE, /* no dithering */
10 JDITHER_FS /* Floyd-Steinberg error diffusion dither */
13 typedef unsigned char JSAMPLE;
14 typedef JSAMPLE * JSAMPROW;
15 typedef JSAMPROW * JSAMPARRAY;
17 void quantize (JSAMPARRAY input_buf,
18 JSAMPARRAY output_buf,
19 int width, int height,
20 J_DITHER_MODE dither_mode,
21 int desired_number_of_colors,
22 unsigned int * output_colors);
28 #endif /* !INC_JQUANT2_H */