diff options
author | Mike Welles <mike@onshore.com> | 1999-09-28 17:22:20 +0100 |
---|---|---|
committer | Roger Leigh <rleigh@codelibre.net> | 2022-06-22 23:29:50 +0100 |
commit | 4e500fc403b41416d3febb9aec42af4c01f5ea47 (patch) | |
tree | c6f6010186a0648de50210deeb38d5f886f6a363 /contrib/tags/xtiffio.h | |
parent | 00c28dda69f1be886da146b085f795478d661ddf (diff) | |
download | libtiff-git-4e500fc403b41416d3febb9aec42af4c01f5ea47.tar.gz |
v3.5.2 releasev3.5.2tiff-3.5-oldcvs
Diffstat (limited to 'contrib/tags/xtiffio.h')
-rw-r--r-- | contrib/tags/xtiffio.h | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/contrib/tags/xtiffio.h b/contrib/tags/xtiffio.h new file mode 100644 index 00000000..2aea724d --- /dev/null +++ b/contrib/tags/xtiffio.h @@ -0,0 +1,52 @@ +/* + * xtiffio.h -- Public interface to Extended TIFF tags + * + * This is a template for defining a client module + * which supports tag extensions to the standard libtiff + * set. Only portions of the code marked "XXX" need to + * be changed to support your tag set. + * + * written by: Niles D. Ritter + */ + +#ifndef __xtiffio_h +#define __xtiffio_h + +#include "tiffio.h" + +/* + * XXX Define your private Tag names and values here + */ + +/* These tags are not valid, but are provided for example */ +#define TIFFTAG_EXAMPLE_MULTI 61234 +#define TIFFTAG_EXAMPLE_SINGLE 61235 +#define TIFFTAG_EXAMPLE_ASCII 61236 + +/* + * XXX Define Printing method flags. These + * flags may be passed in to TIFFPrintDirectory() to + * indicate that those particular field values should + * be printed out in full, rather than just an indicator + * of whether they are present or not. + */ +#define TIFFPRINT_MYMULTIDOUBLES 0x80000000 + +/********************************************************************** + * Nothing below this line should need to be changed by the user. + **********************************************************************/ + +#if defined(__cplusplus) +extern "C" { +#endif + +extern TIFF* XTIFFOpen(const char* name, const char* mode); +extern TIFF* XTIFFFdOpen(int fd, const char* name, const char* mode); +extern void XTIFFClose(TIFF *tif); + +#if defined(__cplusplus) +} +#endif + +#endif /* __xtiffio_h */ + |