1.1 diff -r 0dbb3612d812 -r 9bd354b83e16 pdf.h 1.2 --- a/pdf.h Thu Feb 20 12:21:10 2003 +0000 1.3 +++ b/pdf.h Thu Feb 20 12:44:17 2003 +0000 1.4 @@ -1,3 +1,29 @@ 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 + * PDF routines 1.11 + * $Id: pdf.h,v 1.2 2003/02/20 04:44:17 eric Exp $ 1.12 + * Copyright 2001, 2002, 2003 Eric Smith <eric@brouhaha.com> 1.13 + * 1.14 + * This program is free software; you can redistribute it and/or modify 1.15 + * it under the terms of the GNU General Public License version 2 as 1.16 + * published by the Free Software Foundation. Note that permission is 1.17 + * not granted to redistribute this program under the terms of any 1.18 + * other version of the General Public License. 1.19 + * 1.20 + * This program is distributed in the hope that it will be useful, 1.21 + * but WITHOUT ANY WARRANTY; without even the implied warranty of 1.22 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1.23 + * GNU General Public License for more details. 1.24 + * 1.25 + * You should have received a copy of the GNU General Public License 1.26 + * along with this program; if not, write to the Free Software 1.27 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA 1.28 + */ 1.29 + 1.30 + 1.31 typedef struct pdf_file *pdf_file_handle; 1.32 1.33 typedef struct pdf_page *pdf_page_handle; 1.34 @@ -28,13 +54,9 @@ 1.35 Note that rowbytes must be at least (Columns+7)/8, but may be arbitrarily 1.36 large. */ 1.37 void pdf_write_g4_fax_image (pdf_page_handle pdf_page, 1.38 - unsigned long Columns, 1.39 - unsigned long Rows, 1.40 - unsigned long rowbytes, 1.41 + Bitmap *bitmap, 1.42 int ImageMask, 1.43 - int BlackIs1, /* boolean, typ. false */ 1.44 - unsigned char *data, 1.45 - unsigned long len); 1.46 + int BlackIs1); /* boolean, typ. false */ 1.47 1.48 1.49 void pdf_set_page_number (pdf_page_handle pdf_page, char *page_number);