2 * Image Library -- Image Cards Manipulations
4 * (c) 2006 Pavel Charvat <pchar@ucw.cz>
6 * This software may be freely distributed and used according to the terms
7 * of the GNU Lesser General Public License.
10 #ifndef _IMAGES_IMAGE_OBJ_H
11 #define _IMAGES_IMAGE_OBJ_H
13 #include "images/images.h"
18 enum image_obj_format {
19 IMAGE_OBJ_FORMAT_JPEG,
24 IMAGE_OBJ_VALID_INFO = 0x1,
25 IMAGE_OBJ_VALID_DATA = 0x2,
26 IMAGE_OBJ_VALID_IMAGE = 0x4
42 imo_init(struct image_obj *imo, struct mempool *pool, struct odes *obj)
49 void imo_decompress_thumbnails_init(void);
50 void imo_decompress_thumbnails_done(void);
51 int imo_decompress_thumbnail(struct image_obj *imo);