1.1 diff -r ba64dfca82e9 -r e2ef1c2f9eca t2p.h 1.2 --- a/t2p.h Thu Mar 13 08:03:11 2003 +0000 1.3 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 1.4 @@ -1,71 +0,0 @@ 1.5 -/* 1.6 - * t2p: Create a PDF file from the contents of one or more TIFF 1.7 - * bilevel image files. The images in the resulting PDF file 1.8 - * will be compressed using ITU-T T.6 (G4) fax encoding. 1.9 - * 1.10 - * $Id: t2p.h,v 1.12 2003/03/12 23:59:10 eric Exp $ 1.11 - * Copyright 2001, 2002, 2003 Eric Smith <eric@brouhaha.com> 1.12 - * 1.13 - * This program is free software; you can redistribute it and/or modify 1.14 - * it under the terms of the GNU General Public License version 2 as 1.15 - * published by the Free Software Foundation. Note that permission is 1.16 - * not granted to redistribute this program under the terms of any 1.17 - * other version of the General Public License. 1.18 - * 1.19 - * This program is distributed in the hope that it will be useful, 1.20 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 1.21 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1.22 - * GNU General Public License for more details. 1.23 - * 1.24 - * You should have received a copy of the GNU General Public License 1.25 - * along with this program; if not, write to the Free Software 1.26 - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA */ 1.27 - 1.28 - 1.29 -extern int verbose; 1.30 - 1.31 - 1.32 -typedef struct 1.33 -{ 1.34 - bool has_resolution; 1.35 - double x_resolution; 1.36 - double y_resolution; 1.37 - 1.38 - bool has_page_size; 1.39 - page_size_t page_size; 1.40 - 1.41 - bool has_rotation; 1.42 - int rotation; 1.43 - 1.44 - bool has_crop; 1.45 - crop_t crop; 1.46 -} input_attributes_t; 1.47 - 1.48 -bool open_tiff_input_file (char *name); 1.49 -bool close_tiff_input_file (void); 1.50 - 1.51 - 1.52 -typedef struct 1.53 -{ 1.54 - char *author; 1.55 - char *creator; 1.56 - char *title; 1.57 - char *subject; 1.58 - char *keywords; 1.59 - bool has_bookmarks; 1.60 -} pdf_file_attributes_t; 1.61 - 1.62 -bool open_pdf_output_file (char *name, 1.63 - pdf_file_attributes_t *attributes); 1.64 - 1.65 - 1.66 -void process_page_numbers (int page_index, 1.67 - int count, 1.68 - int base, 1.69 - page_label_t *page_label); 1.70 - 1.71 - 1.72 - 1.73 -bool process_page (int image, /* range 1 .. n */ 1.74 - input_attributes_t input_attributes, 1.75 - bookmark_t *bookmarks);