File: tiff2pdf.h

package info (click to toggle)
djvulibre 3.5.27.1-7
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 8,976 kB
  • ctags: 8,037
  • sloc: cpp: 65,455; xml: 5,723; ansic: 4,640; sh: 846; makefile: 315
file content (45 lines) | stat: -rw-r--r-- 1,377 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
//C-  -*- C -*-
//C- -------------------------------------------------------------------
//C- DjView4
//C- Copyright (c) 2006  Leon Bottou
//C-
//C- This software is subject to, and may be distributed under, the
//C- GNU General Public License, either version 2 of the license,
//C- or (at your option) any later version. The license should have
//C- accompanied the software or you may obtain a copy of the license
//C- from the Free Software Foundation at http://www.fsf.org .
//C-
//C- This program is distributed in the hope that it will be useful,
//C- but WITHOUT ANY WARRANTY; without even the implied warranty of
//C- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//C- GNU General Public License for more details.
//C-  ------------------------------------------------------------------

#ifndef TIFF2PDF_H
# define TIFF2PDF_H
# if HAVE_CONFIG_H
#  include "config.h"
# endif
# if HAVE_TIFF
#  include <stdio.h>
#  include <stddef.h>
#  include <stdlib.h>
#  include <tiff.h>
#  include <tiffio.h>
#  include <tiffconf.h>
#  ifdef TIFFLIB_VERSION
#   if TIFFLIB_VERSION > 20041104
#    define HAVE_TIFF2PDF 1
#   endif
#  endif
# endif
# if HAVE_TIFF2PDF
#  ifdef __cplusplus
extern "C" {
#  endif
int tiff2pdf(TIFF *input, FILE *output, int argc, const char **argv);
#  ifdef __cplusplus
}
#  endif
# endif  /* HAVE_TIFF2PDF */
#endif /* TIFF2PDF_H */