summaryrefslogtreecommitdiffstats
path: root/src/file_tiff.h
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2012-12-08 17:59:08 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2012-12-08 17:59:08 +0100
commit1492220b48cc6d441f5f3bd2d7e7057772c3dce6 (patch)
tree6e9fd55562ba257a4927d9b7e251ceaa8077a7c3 /src/file_tiff.h
parent190b91b85e64505fecda5bbc920c9f95fe02d964 (diff)
PhotoRec: better size detection using TileOffsets and TileByteCounts
Diffstat (limited to 'src/file_tiff.h')
-rw-r--r--src/file_tiff.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/file_tiff.h b/src/file_tiff.h
index 009a2dc..ee068b3 100644
--- a/src/file_tiff.h
+++ b/src/file_tiff.h
@@ -30,6 +30,8 @@ extern "C" {
#define TIFFTAG_MODEL 272 /* scanner model name/number */
#define TIFFTAG_STRIPOFFSETS 273 /* offsets to data strips */
#define TIFFTAG_STRIPBYTECOUNTS 279 /* bytes counts for strips */
+#define TIFFTAG_TILEOFFSETS 324
+#define TIFFTAG_TILEBYTECOUNTS 325
#define TIFFTAG_SUBIFD 330
#define TIFFTAG_JPEGIFOFFSET 513 /* !pointer to SOI marker */
#define TIFFTAG_JPEGIFBYTECOUNT 514 /* !JFIF stream length */