1 #ifndef _IMAGES_IO_MAIN_H
2 #define _IMAGES_IO_MAIN_H
4 int libjpeg_read_header(struct image_io *io);
5 int libjpeg_read_data(struct image_io *io);
6 int libjpeg_write(struct image_io *io);
8 int libpng_read_header(struct image_io *io);
9 int libpng_read_data(struct image_io *io);
10 int libpng_write(struct image_io *io);
12 int libungif_read_header(struct image_io *io);
13 int libungif_read_data(struct image_io *io);
15 int libmagick_read_header(struct image_io *io);
16 int libmagick_read_data(struct image_io *io);
17 int libmagick_write(struct image_io *io);
19 struct image_io_read_data_internals {
21 int need_transformations;
24 struct image *image_io_read_data_prepare(struct image_io_read_data_internals *rdi, struct image_io *io, uns cols, uns rows, uns flags);
25 int image_io_read_data_finish(struct image_io_read_data_internals *rdi, struct image_io *io);
26 void image_io_read_data_break(struct image_io_read_data_internals *rdi, struct image_io *io);