summaryrefslogtreecommitdiff
path: root/libtiff/tif_print.c
diff options
context:
space:
mode:
authorfwarmerdam <fwarmerdam>2011-02-18 20:53:04 +0000
committerfwarmerdam <fwarmerdam>2011-02-18 20:53:04 +0000
commitdadc90dbb47430028417c58c396230fb99a2e9ec (patch)
treef451096fc7e8607fd06e562c0645402ecc067496 /libtiff/tif_print.c
parent55215f34fe7e8873648d9ad1fdb25c6cb8524533 (diff)
downloadlibtiff-dadc90dbb47430028417c58c396230fb99a2e9ec.tar.gz
implement optional support for deferred strip/tile offset/size loading
Diffstat (limited to 'libtiff/tif_print.c')
-rw-r--r--libtiff/tif_print.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/libtiff/tif_print.c b/libtiff/tif_print.c
index bcddbf26..a98c6d65 100644
--- a/libtiff/tif_print.c
+++ b/libtiff/tif_print.c
@@ -1,4 +1,4 @@
-/* $Id: tif_print.c,v 1.52 2011-02-11 19:21:03 fwarmerdam Exp $ */
+/* $Id: tif_print.c,v 1.53 2011-02-18 20:53:04 fwarmerdam Exp $ */
/*
* Copyright (c) 1988-1997 Sam Leffler
@@ -138,6 +138,8 @@ static int
_TIFFPrettyPrintField(TIFF* tif, FILE* fd, uint32 tag,
uint32 value_count, void *raw_data)
{
+ (void) tif;
+
switch (tag)
{
case TIFFTAG_INKSET:
@@ -618,6 +620,9 @@ TIFFPrintDirectory(TIFF* tif, FILE* fd, long flags)
if (tif->tif_tagmethods.printdir)
(*tif->tif_tagmethods.printdir)(tif, fd, flags);
+
+ _TIFFFillStriles( tif );
+
if ((flags & TIFFPRINT_STRIPS) &&
TIFFFieldSet(tif,FIELD_STRIPOFFSETS)) {
uint32 s;