Commit Graph

725 Commits

Author SHA1 Message Date
Frank Warmerdam
db1ab60dac add support for 8/12bit jpeg dual mode builds 2009-06-21 18:49:38 +00:00
Frank Warmerdam
5e895a5ce0 do not override planar config if set (#2057) 2009-06-03 23:47:22 +00:00
Frank Warmerdam
b4c7ba76a2 add TIFFUnsetField to .def file 2009-06-02 04:31:48 +00:00
Frank Warmerdam
56521d7ef1 Fixed various errors reports to use %s as format string (gdal #2976) 2009-05-03 14:29:36 +00:00
Frank Warmerdam
35128920f8 fix printdir chaining for some codecs. (#2020) 2009-03-13 02:02:51 +00:00
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
12449fa7d5 avoid use of system lfind() due to type issues (#1889) 2009-01-23 05:10:39 +00:00
Frank Warmerdam
46bac877c5 avoid 32/64bit casting warnings 2009-01-22 21:12: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
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
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
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
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
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
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
355696533d *** empty log message *** 2008-09-03 07:48:52 +00:00
Frank Warmerdam
80ca2298a3 avoid warnings about TIFFReadDirEntryFloat(), etc 2008-09-01 23:26:27 +00:00
Frank Warmerdam
11e620b7f9 modified to write IFDs as either IFD8 or IFD depending on whether the file
is bigtiff or classic tiff. http://bugzilla.maptools.org/show_bug.cgi?id=1917
2008-09-01 23:18:19 +00:00
Bob Friesenhahn
8d2fe9f4e2 * tools/tiffdump.c: When compiling for Microsoft Windows, apply
consistent (__int64) casting when testing if _lseeki64 has
successfully seeked as requested.  This is necessary for large
file support to work since off_t is only 32-bit.
2008-08-12 21:52:03 +00:00
Frank Warmerdam
743808438f Return an error rather than just asserting on invalid samples per
pixel or subsampling ratios (#1927).
2008-07-29 19:51:07 +00:00
Frank Warmerdam
6e6e603753 fix some portability and warning issues with tiffcrop 2008-06-17 20:16:54 +00:00
Frank Warmerdam
1468d4291f use same jpeg hacks for win32 as in tif_jpeg.c 2008-06-17 19:48:22 +00:00
Frank Warmerdam
c7d28f4ba8 Ensure TIFFOpenW() uses same FILE_SHARE flags as TIFFOpen() 2008-06-17 18:47:03 +00:00
Frank Warmerdam
4594f2dcf2 fix alignment problems for architectures like Sparc (#1892) 2008-06-01 13:11:18 +00:00