Mon, 26 Aug 2002 05:43:49 +0000
fixed 'middle-endian' output from TIFFReadScanline
1 typedef struct
2 {
3 boolean has_resolution;
4 double x_resolution;
5 double y_resolution;
7 boolean has_page_size;
8 page_size_t page_size;
10 boolean has_rotation;
11 int rotation;
13 boolean has_crop;
14 crop_t crop;
15 } input_attributes_t;
17 boolean open_tiff_input_file (char *name);
18 boolean close_tiff_input_file (void);
21 typedef struct
22 {
23 char *author;
24 char *creator;
25 char *title;
26 char *subject;
27 char *keywords;
28 } pdf_file_attributes_t;
30 boolean open_pdf_output_file (char *name,
31 pdf_file_attributes_t *attributes);
34 void process_page_numbers (int page_index,
35 int count,
36 int base,
37 page_label_t *page_label);
39 boolean process_page (int image, /* range 1 .. n */
40 input_attributes_t input_attributes,
41 bookmark_t *bookmarks);