1 #ifndef _IMAGES_DUP_CMP_H
2 #define _IMAGES_DUP_CMP_H
18 #define IMAGE_DUP_FLAG_SCALE 0x1
20 #define IMAGE_DUP_TRANS_ID 0x01
21 #define IMAGE_DUP_TRANS_ALL 0xff
23 void image_dup_init(struct image_dup *dup, struct image *image, struct mempool *pool);
24 int image_dup_compare(struct image_dup *dup1, struct image_dup *dup2, uns trans);
25 uns image_dup_estimate_size(uns width, uns height);