/* True image size */
unsigned width, height;
+ /* 1 = B/W, 3 = YCbCr */
+ unsigned num_components;
+
/* Component image sizes (possibly subsampled) */
unsigned w0, h0;
unsigned w1, h1;
enum qscale_scaling_filter {
LANCZOS = 0,
+ MITCHELL = 1,
};
enum qscale_jpeg_mode {
SEQUENTIAL = 0,
+ PROGRESSIVE = 1,
};
qscale_img *qscale_load_jpeg(const char *filename);