tumble.h

Mon, 31 Dec 2001 08:25:04 +0000

author
eric
date
Mon, 31 Dec 2001 08:25:04 +0000
changeset 23
1fe64161aaac
parent 17
d4699dfddcc0
child 25
139b91f9a224
permissions
-rw-r--r--

added input and output attribute structures as arguments to process_page().

eric@23 1 typedef struct
eric@23 2 {
eric@23 3 page_size_t size;
eric@23 4 int rotation;
eric@23 5 crop_t crop;
eric@23 6 } input_attributes_t;
eric@23 7
eric@23 8 typedef struct
eric@23 9 {
eric@23 10 char *page_number;
eric@23 11 bookmark_t *bookmarks;
eric@23 12 } output_attributes_t;
eric@23 13
eric@10 14 boolean open_tiff_input_file (char *name);
eric@10 15 boolean close_tiff_input_file (void);
eric@10 16
eric@10 17 boolean open_pdf_output_file (char *name);
eric@10 18 boolean close_pdf_output_file (void);
eric@10 19
eric@23 20 boolean process_page (int image, /* range 1 .. n */
eric@23 21 input_attributes_t input_attributes,
eric@23 22 output_attributes_t output_attributes);