Commit Graph

2392 Commits

Author SHA1 Message Date
Frank Warmerdam
15760800eb fixed handling of tiled logluv images (#2005) 2009-02-12 18:06:17 +00:00
Frank Warmerdam
a62c54d6f8 improve tag buffer allocation safety (#1998) 2009-02-09 14:29:08 +00:00
Frank Warmerdam
5d40e67e89 avoid defaulting image->res_unit to INCH in loadImage() 2009-02-06 15:43:06 +00:00
Frank Warmerdam
21cfbd887b reincorporate sanity check on tag size at 2GB to avoid 32bit system overflow (#1993) 2009-02-05 20:13:44 +00:00
Frank Warmerdam
4d658090bb removed another assertion that fires on corrupt files 2009-02-05 19:50:01 +00:00
Frank Warmerdam
06ed150673 remove assertions blown for corrupt files (#1995) 2009-02-05 19:21:45 +00:00
Frank Warmerdam
0068fcf5ad fixed testing for failed TIFFReadDirectoryFindFieldInfo() results (#1992) 2009-02-05 16:07:59 +00:00
Frank Warmerdam
8b508c187b added 32bit horizontal predictor support (#1911) 2009-01-23 15:52:39 +00:00
Frank Warmerdam
22ca888e0f fix byte swapping of next directory offset (#1924) 2009-01-23 06:21:29 +00:00
Frank Warmerdam
e238751e2d initialize xres/yres values in case missing in file 2009-01-23 06:04:31 +00:00
Frank Warmerdam
6b1e83821b default srcdir to . in test scripts if not set 2009-01-23 05:37:18 +00:00
Frank Warmerdam
1c8edd0d0a turn verbose on after common setup 2009-01-23 05:32:37 +00:00
Frank Warmerdam
e8d869b64d initialize tv variable to avoid warning 2009-01-23 05:25:19 +00:00
Frank Warmerdam
12449fa7d5 avoid use of system lfind() due to type issues (#1889) 2009-01-23 05:10:39 +00:00
Frank Warmerdam
28c6aee9e4 ensure libport.h gets included in distribution 2009-01-22 21:52:54 +00:00
Frank Warmerdam
bb7dca71b3 include libport.h for getopt() prototype 2009-01-22 21:50:43 +00:00
Frank Warmerdam
46bac877c5 avoid 32/64bit casting warnings 2009-01-22 21:12:45 +00:00
Frank Warmerdam
c4c1a95ce4 fix ordering to avoid getopt redeclaration 2009-01-22 20:59:33 +00:00
Frank Warmerdam
4bed4d565f new 2009-01-22 20:54:45 +00:00
Frank Warmerdam
3db9feb595 introduce libport.h prototypes to reduce warnings 2009-01-22 20:53:07 +00:00
Frank Warmerdam
9a47718c19 fix some warnings 2009-01-22 19:06:49 +00:00
Bob Friesenhahn
1ff9c1c489 * test/common.sh: Execute tests like 'make VERBOSE=TRUE check' in
order to trace full execution detail while executing the test suite.
2009-01-21 17:48:18 +00:00
Frank Warmerdam
01e6d4c022 tiffsplit.c: fix sampleformat to be shortv instead of longv 2009-01-21 04:42:10 +00:00
Bob Friesenhahn
d6c4560053 * test/Makefile.am (CLEANFILES): Make sure that test output files
are removed by 'make clean'
2009-01-21 02:06:55 +00:00
Bob Friesenhahn
9e978f2097 * Update autotools for 4.0.0 beta3 2009-01-21 01:53:23 +00:00
Frank Warmerdam
af4f213aa8 update to 4.0.0beta3 2009-01-20 22:07:18 +00:00
Bob Friesenhahn
506c21992e * test/tiffcrop.sh: New test script for tiffcrop from Richard
Nolde.

* tools/tiff2ps.c: Remove spurious message to stderr.
2009-01-12 16:23:11 +00:00
Bob Friesenhahn
771a4ea0a9 Updates for tiff2ps.1 2009-01-12 02:05:19 +00:00
Bob Friesenhahn
d99686ccb2 * tools/tiff2ps.c: Incorporated significant functionality update
from Richard Nolde.  In particular, support for rotating the image
by 90, 180, 270, and 'auto' has been added.  Still waiting for
documentation patch to man/tiff2ps.1.

* man/tiffcrop.1: Incorporated documentation updates from Richard
Nolde.

* tools/tiffcrop.c: Incorporated significant functionality update
from Richard Nolde.
2009-01-11 20:04:22 +00:00
Frank Warmerdam
04d7332676 test commit 2009-01-02 03:48:45 +00:00
Bob Friesenhahn
953d02c32d * libtiff/tiffio.h: GCC will now validate format specifications
for TIFFError(), TIFFErrorExt(), TIFFWarning(), and
TIFFWarningExt() in order to reveal bugs.
* Many fixes throughout to work better as a 64-bit build.
2008-12-31 23:48:01 +00:00
Bob Friesenhahn
968401fdf3 * tools/{tiff2pdf.c, tiff2ps.c, tiffinfo.c}: Offset and length
tags now require 64-bit parameter rather than 32-bit.
* libtiff/tif_dirread.c: Fixed issues with unaligned access to
64-bit values.
2008-12-31 03:06:27 +00:00
Bob Friesenhahn
f44e642634 * tools/thumbnail.c: Eliminate crash noticed while running test
suite.
2008-12-30 22:20:35 +00:00
Bob Friesenhahn
bb9ee50811 Don't throw away output to stderr. Collect and display it if there is an error. 2008-12-30 21:59:54 +00:00
Bob Friesenhahn
a6294fe089 * libtiff/tif_ojpeg.c (OJPEGLibjpegJpegSourceMgrFillInputBuffer):
Initialize stack variables to avoid compiler warning.
2008-12-30 01:36:26 +00:00
Bob Friesenhahn
527802616e * tools/tiffinfoce.c (main): Use toff_t for offset type when
retrieving offset of EXIF IFD.
2008-12-30 01:28:25 +00:00
Bob Friesenhahn
226f5fd57e * libtiff/tiffio.h: Undeprecate toff_t and restore its use in the
TIFFClientOpen() callback and other external function definitions.
2008-12-30 00:39:22 +00:00
Bob Friesenhahn
164884d67d Use toff_t rather than uint64 since it is a safer interface. 2008-12-30 00:12:11 +00:00
Bob Friesenhahn
dbd1873ffa * tools/tiffinfo.c (main): Offset to EXIF IFD requires a 64-bit
type now.  Fixes crash when dumping files containing an EXIF IFD.
* m4/libtool.m4: Update to libtool 2.2.6.
2008-12-29 23:44:18 +00:00
Frank Warmerdam
bb8117904c minor formatting changes 2008-12-21 21:07:05 +00:00
Frank Warmerdam
810460b4d9 ensure we flush dirty directories even if no imagery written 2008-12-21 20:31:33 +00:00
Frank Warmerdam
a5a412f6d3 introduce TIFFUnsetField() function 2008-12-21 20:30:25 +00:00
Frank Warmerdam
54bf10fcbc avoid errors on last partial strip (#1981) 2008-12-21 20:13:38 +00:00
Frank Warmerdam
203fc17cb4 include tiffcrop 2008-12-13 15:23:15 +00:00
Frank Warmerdam
a4459c9e10 clear BEENWRITING in TIFFlush() after writing strip/tile offsets (#2621) 2008-10-30 01:25:11 +00:00
Andrey Kiselev
229167b1d1 Support the JBIG-KIT 2.0 (compatibility with the older versions retained). 2008-10-21 13:16:59 +00:00
Frank Warmerdam
0cf3016d0c added file io changes needed for IPP libjpeg compatability (#1951) 2008-10-10 01:48:36 +00:00
Andrey Kiselev
28aee36491 *** empty log message *** 2008-09-05 07:07:02 +00:00
Andrey Kiselev
9498770c99 Use byte counts of proper size (uint64). Required for libtiff 4.0. 2008-09-05 07:06:26 +00:00
Andrey Kiselev
6ae8a4bd73 Use dynamically allocated array instead of static when constructing
output file names.
2008-09-05 06:44:32 +00:00