]> mj.ucw.cz Git - libucw.git/blob - images/object.h
Packages: Several fixes in debian packages.
[libucw.git] / images / object.h
1 #ifndef _IMAGES_OBJECT_H
2 #define _IMAGES_OBJECT_H
3
4 #include <images/images.h>
5
6 struct image_obj_info {
7   uns cols;
8   uns rows;
9   uns colors;
10   enum image_format thumb_format;
11   uns thumb_cols;
12   uns thumb_rows;
13   uns thumb_size;
14   byte *thumb_data;
15 };
16
17 struct odes;
18 struct mempool;
19 struct image_signature;
20
21 uns get_image_obj_info(struct image_obj_info *ioi, struct odes *o);
22 uns get_image_obj_thumb(struct image_obj_info *ioi, struct odes *o, struct mempool *pool);
23 struct image *read_image_obj_thumb(struct image_obj_info *ioi, struct fastbuf *fb, struct image_io *io, struct mempool *pool);
24 void put_image_obj_signature(struct odes *o, struct image_signature *sig);
25 uns get_image_obj_signature(struct image_signature *sig, struct odes *o);
26
27 #endif