tumble.c

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