| 1 |
/* 'checkit_tiff' is a conformance checker for baseline TIFFs |
| 2 |
* |
| 3 |
* author: Andreas Romeyke, 2015-2022 |
| 4 |
* licensed under conditions of libtiff |
| 5 |
* (see http://libtiff.maptools.org/misc.html) |
| 6 |
* |
| 7 |
*/ |
| 8 |
|
| 9 |
#include "check.h" |
| 10 |
#include "check_helper.h" |
| 11 |
/* #define DEBUG */ |
| 12 |
|
| 13 |
|
| 14 |
/* checks if TIF has a specified tag */ |
| 15 |
returncode_t check_tag_quiet(ctiff_t * ctif, tag_t tag) { |
| 16 |
if (no_index_found != TIFFGetRawTagListIndex(ctif->ifd0, tag)) { |
| 17 |
return is_valid; |
| 18 |
} return tag_does_not_exist; |
| 19 |
} |
| 20 |
/* vim: set tabstop=2 softtabstop=2 shiftwidth=2 smarttab expandtab :*/ |