1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#ifndef _DICT_HW_IMAGE_H
#define _DICT_HW_IMAGE_H
#ifdef DICT_TIFF_SUPPORT
# include <tiffio.h>
#endif /* DICT_TIFF_SUPPORT */
#include "dict_hw.h"
enum DICTImageType {
DICT_IMAGE_TIFF = 0
};
int dictImageFree(DICTContext ctx);
int dictReduceImage(DICTContext ps, unsigned char *res, unsigned char *image, int width, int height);
int dictImageLoadTemplateImage(DICTContext ctx, const char *filename);
int dictImageLoadImage(DICTContext ctx, const char *filename, unsigned char *buf);
#endif /* _DICT_HW_IMAGE_H */
|