Commit Graph

2162 Commits

Author SHA1 Message Date
Frank Warmerdam
4dcbede5b0 introduce TIFF_BUF4WRITE flag to mark rawcc buffer as for writing 2007-11-23 20:49:42 +00:00
Andrey Kiselev
d7c1603a27 Better OpenVMS support. Patches from Alexey Chupahin. 2007-11-23 10:01:34 +00:00
Frank Warmerdam
d14dae9c0c avoid corruption risk with write-in-same-location logic 2007-11-02 19:57:28 +00:00
Frank Warmerdam
e770990619 avoid extra tile info write in TIFFWriteDirectory() 2007-11-02 19:53:04 +00:00
Frank Warmerdam
508bb71bc3 add missing part of ChangeLog message for last change 2007-11-02 19:45:38 +00:00
Frank Warmerdam
4710fe4c8b Split pfunc into encode and decode versions to avoid mixing things
up in read/write applications.
http://trac.osgeo.org/gdal/ticket/1948
Also make a temporary working buffer to modify in PredictorEncodeTile.
http://trac.osgeo.org/gdal/ticket/1965
2007-11-02 19:43:55 +00:00
Frank Warmerdam
f3c11d49d7 Improvements so that predictor based encoding and decoding works in
read-write update mode properly.  http://trac.osgeo.org/gdal/ticket/1948
2007-11-02 00:25:21 +00:00
Joris Van Damme
1a5dfd2205 tif_dirread.c: Fixed problem with bogus file triggering assert in ChopUpSingleUncompressedStrip 2007-10-24 10:19:42 +00:00
Joris Van Damme
7497b6e5f3 tif_jpeg.c: resolved buffer incrementation bug 2007-10-22 18:39:53 +00:00
Frank Warmerdam
fe89e891bf update people responsible info for web site 2007-10-11 15:35:23 +00:00
Frank Warmerdam
8e40470908 Fix problem with alpha setting 2007-10-05 16:30:18 +00:00
Joris Van Damme
8753fa323f changed some more incorrect %lud printf flags to %lu 2007-10-01 12:43:48 +00:00
Joris Van Damme
d8144e074c small correction to ChangeLog text entry 2007-09-29 10:37:40 +00:00
Joris Van Damme
00ddda303a tif_dirread.c: Fixed bad behaviour of strip chopping on uncompressed subsampled images. 2007-09-29 10:34:37 +00:00
Joris Van Damme
cce392c46f tif_dirread.c: Logical cast working around compiler warning; tif_read.c: Correction of some error flags and parameter lists 2007-09-28 14:49:14 +00:00
Joris Van Damme
4df2d8f4f7 tif_dirread.c: made calculation of td_maxsamplevalue more robust; tif_open.c: moved early exit in case of 'h' flag, solving some unwanted bugs later on 2007-09-27 17:38:57 +00:00
Joris Van Damme
fca5e791dd tif_dirinfo.c: fixed (MSVC) compiler reports about inconsistent use of const in tiffFields and exifFields definition 2007-09-24 06:40:14 +00:00
Andrey Kiselev
86a7057d06 Make all module name constants static. 2007-09-22 15:08:27 +00:00
Frank Warmerdam
37588b8480 Correct comment about tag counting in TIFFWriteDirectoryTagLongLong8Array. 2007-09-21 14:21:03 +00:00
Frank Warmerdam
86d1335d52 always write strip/tile offsets as long8 in bigtiff 2007-09-20 19:57:58 +00:00
Frank Warmerdam
08f2d19fab more improvements to error reporting in TIFFFetchDirectory 2007-09-20 19:20:54 +00:00
Frank Warmerdam
9f6ea3bef9 Fix name TIFFFetchDirectory uses in error message (was ...Classic). 2007-09-20 16:34:23 +00:00
Bob Friesenhahn
2737e0e77b * test/images: Added a small collection of test images for use by
test programs and scripts.
* test/tiffinfo.sh: A trivial example test script.
* test/common.sh: Added small script for setting the environment
used by script-based tests.
2007-09-19 21:51:00 +00:00
Frank Warmerdam
8b2b03ae11 Write the tif_nextdiroff value instead of a fixed zero when writing
directory contents to preserve the ability to rewrite directories in place,
even in the middle of a directory chain.
2007-08-24 20:49:38 +00:00
Frank Warmerdam
a6bea11162 _TIFFMergeFields() now only merges in field definitions that are missing.
Existing definitions are silently ignored.  This avoids warnings with
multi-directory files.
2007-08-24 20:47:49 +00:00
Frank Warmerdam
4baacb150b Add runtime check in TIFFFetchNormalTag() 2007-08-24 20:45:59 +00:00
Joris Van Damme
3c78b558ae tif_getimage.c: removed SubsamplingHor/Ver from TIFFRGBAImage structure to revert unwanted ABI change 2007-08-10 10:19:55 +00:00
Joris Van Damme
2085534654 tif_win32.c: use SetFilePointer instead of SetFilePointerEx 2007-08-10 10:04:47 +00:00
Andrey Kiselev
0907a08768 Always test that tif_fields is not NULL before accessing array elements. 2007-07-19 17:16:25 +00:00
Andrey Kiselev
d6b140da3b In TIFFCleanup() test that tif_fields is not NULL before iterating over
array.
2007-07-19 17:13:56 +00:00
Andrey Kiselev
54f0af17ca *** empty log message *** 2007-07-19 15:51:01 +00:00
Andrey Kiselev
7d5b41ee4f Use "%I64d" printf() formatter instead of "%lld" with MSVC compiler. 2007-07-19 15:50:28 +00:00
Andrey Kiselev
b95ab39ef3 Put all callback functions declarations inside extern "C" block. 2007-07-19 15:44:31 +00:00
Andrey Kiselev
224710a9af Use "%I64d" printf() formatter instead of "%lld" with MSVC compiler. 2007-07-19 15:31:20 +00:00
Andrey Kiselev
9b76d52ad3 Use "%I64d" printf() formatter instead of "%lld" with MSVC compiler. 2007-07-19 13:25:43 +00:00
Andrey Kiselev
7c7f07f5d4 Added _TIFFUInt64ToFloat() and _TIFFUInt64ToDouble() functions. 2007-07-19 13:11:59 +00:00
Andrey Kiselev
d27e1deccd *** empty log message *** 2007-07-18 16:06:50 +00:00
Andrey Kiselev
f6bde7d27b Handle the case of MSVC 6 when using 64-bit integer constants. 2007-07-18 16:06:05 +00:00
Andrey Kiselev
91659c4185 Use __WIN32__ instead of WIN32 in preprocessor switches. 2007-07-18 15:26:09 +00:00
Andrey Kiselev
01e27cc652 Remove tif_config.h/tiffconf.h during clean. 2007-07-18 14:18:08 +00:00
Andrey Kiselev
dfc01ae91e tif_config.wince.h/tiffconf.wince.h added to distribution. 2007-07-18 14:17:01 +00:00
Andrey Kiselev
cd9d0d5133 Do not distribute tiffconf.h. 2007-07-18 13:53:12 +00:00
Andrey Kiselev
0067eade90 Do not use O_LARGEFILE. 2007-07-18 13:46:41 +00:00
Joris Van Damme
2167fa6349 Fix for Bob's DumpModeDecode size bug 2007-07-16 18:05:12 +00:00
Andrey Kiselev
42bed3384e libtiff 4.0.0alpha released. 2007-07-13 14:57:37 +00:00
Andrey Kiselev
8c8326e977 New. 2007-07-13 14:05:16 +00:00
Andrey Kiselev
612fe33e9d Mapping routines definitions fixed. 2007-07-12 17:32:53 +00:00
Andrey Kiselev
4bce67280a *** empty log message *** 2007-07-12 17:28:20 +00:00
Andrey Kiselev
3716b22ae8 Added missed extern optind. 2007-07-12 17:25:12 +00:00
Andrey Kiselev
875d6d385d *** empty log message *** 2007-07-12 14:00:35 +00:00