t2p.c

changeset 44
0f78374addae
parent 43
b80cb5a4282a
child 46
20fda1ec5f17
     1.1 --- a/t2p.c	Tue Jan 22 09:42:42 2002 +0000
     1.2 +++ b/t2p.c	Wed Jan 30 08:55:53 2002 +0000
     1.3 @@ -1,11 +1,10 @@
     1.4  /*
     1.5 - * tiff2pdf: Create a PDF file from the contents of one or more
     1.6 - *           TIFF bilevel image files.  The images in the resulting
     1.7 - *           PDF file will be compressed using ITU-T T.6 (G4) fax
     1.8 - *           encoding.
     1.9 + * t2p: Create a PDF file from the contents of one or more TIFF
    1.10 + *      bilevel image files.  The images in the resulting PDF file
    1.11 + *      will be compressed using ITU-T T.6 (G4) fax encoding.
    1.12   *
    1.13   * Main program
    1.14 - * $Id: t2p.c,v 1.15 2002/01/22 01:42:42 eric Exp $
    1.15 + * $Id: t2p.c,v 1.16 2002/01/30 00:55:34 eric Exp $
    1.16   * Copyright 2001 Eric Smith <eric@brouhaha.com>
    1.17   *
    1.18   * This program is free software; you can redistribute it and/or modify
    1.19 @@ -21,8 +20,7 @@
    1.20   *
    1.21   * You should have received a copy of the GNU General Public License
    1.22   * along with this program; if not, write to the Free Software
    1.23 - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111  USA
    1.24 - */
    1.25 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA */
    1.26  
    1.27  
    1.28  #include <stdio.h>
    1.29 @@ -36,7 +34,7 @@
    1.30  #include "bitblt.h"
    1.31  #include "semantics.h"
    1.32  #include "parser.tab.h"
    1.33 -#include "tiff2pdf.h"
    1.34 +#include "t2p.h"
    1.35  
    1.36  
    1.37  #define POINTS_PER_INCH 72
    1.38 @@ -255,7 +253,7 @@
    1.39    panda_page *page;
    1.40  
    1.41    int tiff_temp_fd;
    1.42 -  char tiff_temp_fn [] = "/var/tmp/tiff2pdf-XXXXXX\0";
    1.43 +  char tiff_temp_fn [] = "/var/tmp/t2p-XXXXXX\0";
    1.44    TIFF *tiff_temp;
    1.45    
    1.46    char pagesize [26];  /* Needs to hold two ints of four characters (0..3420),