Commit Graph

722 Commits

Author SHA1 Message Date
Frank Warmerdam
faf612679b list JBIG_SUPPORT and MDI_SUPPORT in win32 header 2008-05-26 15:09:56 +00:00
Frank Warmerdam
6af761b24c avoid possible NULL in error 2008-05-25 03:10:55 +00:00
Bob Friesenhahn
a4e657cc8a * test {tiff2pdf.sh tiff2ps-EPS1.sh tiff2ps-PS1.sh tiff2ps-PS2.sh
tiff2ps-PS3.sh tiffcp-g3-1d-fill.sh tiffcp-g3-1d.sh
tiffcp-g3-2d-fill.sh tiffcp-g3-2d.sh tiffcp-g3.sh tiffcp-g4.sh
tiffcp-split-join.sh tiffcp-split.sh tiffcp-thumbnail.sh
tiffdump.sh tiffinfo.sh}: Added more test scripts based on
suggestions from Lee Howard posted to the tiff list on 13 Sep
2007.
2008-05-24 22:24:25 +00:00
Frank Warmerdam
e019c52f55 deal with a leak, and a possible runtime problem reported by coverity 2008-05-24 02:14:11 +00:00
Frank Warmerdam
8a241d9f11 avoid leaks, dead code 2008-05-23 19:52:49 +00:00
Frank Warmerdam
09fe8fabf4 fix some coverity reported problems 2008-05-23 17:24:41 +00:00
Frank Warmerdam
a8ecdf825d Use TIFF_SETGET_ASCII for Pixar Texture tags 2008-05-18 16:18:30 +00:00
Bob Friesenhahn
9015352474 * Makefile.am (ACLOCAL_AMFLAGS): Libtool 2.2.4 does not like
"ACLOCAL_AMFLAGS=-I ./m4".  It wants "ACLOCAL_AMFLAGS=-I m4".
2008-05-09 16:20:49 +00:00
Andrey Kiselev
03db22ad51 *** empty log message *** 2008-04-15 14:25:20 +00:00
Andrey Kiselev
1bf045a2e1 *** empty log message *** 2008-04-14 09:05:50 +00:00
Andrey Kiselev
3dc82cc7b7 *** empty log message *** 2008-04-10 11:11:54 +00:00
Frank Warmerdam
e80d604df0 disable tag size sanity checks (GDAL #2005) 2008-03-14 05:58:40 +00:00
Joris Van Damme
809dbe933b handling for PageNumber tag values different from 2 2008-02-09 09:51:46 +00:00
Frank Warmerdam
d3d2ef5638 avoid attempting jpeg subsampling fixup if stripbytecount[0] is zero 2008-02-01 21:50:24 +00:00
Frank Warmerdam
e9cb45c2ee fix 64bit type issues 2008-01-07 15:47:54 +00:00
Frank Warmerdam
be56f42493 ifdef out unused functions 2008-01-01 16:26:13 +00:00
Frank Warmerdam
2e8e250054 Fix clean rules to be more precise, avoiding warnings from "del"
when running them after a full build.
2008-01-01 15:53:10 +00:00
Frank Warmerdam
c080e30701 info on various fixes from Edward Lam 2008-01-01 15:49:43 +00:00
Frank Warmerdam
19fb2c9918 added rewrite_tag test 2008-01-01 13:57:21 +00:00
Frank Warmerdam
2b64a8aac4 added TIFFRewriteField() 2007-12-31 21:55:07 +00:00
Frank Warmerdam
a7e32673b8 improve switching between encode/decode (gdal bug #2033) 2007-12-10 19:58:41 +00:00
Frank Warmerdam
e427d6178d Fixed bug reference. 2007-11-23 20:55:35 +00:00
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
Frank Warmerdam
86d1335d52 always write strip/tile offsets as long8 in bigtiff 2007-09-20 19:57:58 +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
54f0af17ca *** empty log message *** 2007-07-19 15:51:01 +00:00
Andrey Kiselev
d27e1deccd *** empty log message *** 2007-07-18 16:06:50 +00:00
Andrey Kiselev
42bed3384e libtiff 4.0.0alpha released. 2007-07-13 14:57:37 +00:00
Andrey Kiselev
4bce67280a *** empty log message *** 2007-07-12 17:28:20 +00:00
Andrey Kiselev
875d6d385d *** empty log message *** 2007-07-12 14:00:35 +00:00
Bob Friesenhahn
b2328c5b5d * libtiff/tif_stream.cxx: Adapt to use toff_t again. Update to
use standard C++ library size types and attempt to detect overflow
cases.
2007-07-11 20:27:14 +00:00
Andrey Kiselev
80d98dc2b6 *** empty log message *** 2007-07-09 10:17:35 +00:00
Andrey Kiselev
6351780a75 *** empty log message *** 2007-07-08 18:33:01 +00:00
Bob Friesenhahn
de5235e3af * tools/tiff2pdf.c: Fix a compile problem when JPEG_SUPPORT is not
defined.
2007-07-06 01:25:11 +00:00
Andrey Kiselev
1e90985416 *** empty log message *** 2007-07-04 14:06:53 +00:00
Andrey Kiselev
009671a000 *** empty log message *** 2007-07-03 16:06:41 +00:00
Andrey Kiselev
1c81bc514c *** empty log message *** 2007-07-03 16:01:18 +00:00
Andrey Kiselev
ede042221b *** empty log message *** 2007-07-03 15:51:48 +00:00
Bob Friesenhahn
5016816617 Added support for a TIFF_SSIZE_T in order to return memory sizes but still
allow returning -1 for errors.
2007-06-26 22:52:05 +00:00
Bob Friesenhahn
671e370838 Added support for a TIFF_PTRDIFF_T type to use when doing pointer arithmetic. 2007-06-26 20:05:33 +00:00
Bob Friesenhahn
785843bd90 * configure.ac: Fix typo when substituting value for unsigned 8 bit type.
* libtiff/tiffconf.vc.h: Add porting type defintions for WIN32.
2007-06-26 15:39:51 +00:00
Bob Friesenhahn
8c4398d0d6 * port/strtoull.c: New porting function in case strtoull() is not
available on the target system.
* configure.ac: Add configure support for determining sized types
in a portable way and performing necessary substitutions in
tif_config.h and tiffconf.h.  Updated tiff.h to use the new
definitions.
2007-06-25 15:38:21 +00:00
Andrey Kiselev
21ad2ee1a7 *** empty log message *** 2007-04-27 16:47:42 +00:00
Andrey Kiselev
d821eda158 *** empty log message *** 2007-04-07 15:16:55 +00:00
Frank Warmerdam
d8921f2ad4 Fix problems with odd sized output blocks in TIFF_DownSample_Subsampled() (bug 1542). 2007-04-07 06:36:39 +00:00
Frank Warmerdam
0060e8d942 fix in JPEGInitializeLibJPEG for compress/decompress mixup (bug #1541) 2007-04-06 21:04:27 +00:00
Andrey Kiselev
6b47776e21 *** empty log message *** 2007-04-06 14:27:30 +00:00
Frank Warmerdam
05c09c045b fix static/inline issue with IRIC C++ Compiler 2007-03-28 21:47:01 +00:00
Joris Van Damme
d5bb03d2e2 BigTIFF upgrade in progress 2007-03-17 04:41:28 +00:00
Joris Van Damme
7cff22e59c workaround for OJPEG 'Fractional scanline' bug in tif_getimage.c 2007-03-08 03:07:42 +00:00
Joris Van Damme
04282d6b8f minor changes in tif_win32.c 2007-03-07 17:10:31 +00:00
Andrey Kiselev
5ea085b57e *** empty log message *** 2007-02-27 15:46:48 +00:00
Andrey Kiselev
1c0564c8e8 *** empty log message *** 2007-02-24 17:16:40 +00:00
Andrey Kiselev
ef833c655f Regenerated. 2007-02-24 15:03:47 +00:00
Andrey Kiselev
52cd7a3a70 *** empty log message *** 2007-02-22 14:07:47 +00:00
Andrey Kiselev
a128f8e5b5 *** empty log message *** 2007-02-22 11:34:10 +00:00
Andrey Kiselev
a766aaa89e *** empty log message *** 2007-01-31 14:47:15 +00:00
Mateusz Loskot
367a35efb3 TIFF library ported to Windows CE platform. 2007-01-15 18:40:39 +00:00
Frank Warmerdam
92c680cdf1 clear sorted flag if we move a strip/tile - bug 1359 2006-11-20 02:11:39 +00:00
Andrey Kiselev
3337b034f1 *** empty log message *** 2006-10-13 15:07:40 +00:00
Andrey Kiselev
b560709ed0 *** empty log message *** 2006-10-12 18:12:12 +00:00
Andrey Kiselev
496e006bbe *** empty log message *** 2006-09-28 16:26:55 +00:00
Frank Warmerdam
b201d46b26 fixed problem with read/write mixing for lzw/zip compressed files 2006-09-27 22:38:58 +00:00
Frank Warmerdam
649b74d9d6 rename .h.vc to .vc.h 2006-09-20 13:34:16 +00:00
Frank Warmerdam
06d980830c *** empty log message *** 2006-07-25 18:27:36 +00:00
Frank Warmerdam
8269c6aadc (1) take care not to flush out buffer of strip/tile
data in _TIFFWriteDirectory if TIFF_BEENWRITING not set.  Relates
to bug report by Peng Gao with black strip at bottom of images.
(2) make sure to use uint32 for wordcount in
TIFFWriteNormanTag if writecount is VARIABLE2 for ASCII fields.
It already seems to have been done for other field types.  Needed
for "tiffset" on files with geotiff ascii text.
2006-07-20 03:27:01 +00:00
Bob Friesenhahn
33bf9a3f4c * {configure.ac, libtiff/tif_config.h.vc, libtiff/tif_jbig.c}
(JBIGDecode): jbg_newlen is not available in older JBIG-KIT and
its use does not appear to be required, so use it only when it is
available.
2006-07-04 19:01:47 +00:00
Andrey Kiselev
0360163075 *** empty log message *** 2006-06-24 18:02:15 +00:00
Frank Warmerdam
06ab41916f Fix handling of -q values. (bug 587) 2006-06-19 20:12:07 +00:00
Frank Warmerdam
8a6eb4e9c4 fixed gdaladdo bug due to overeager use of EstimateStripByteCount and lack of tile case 2006-06-17 17:20:45 +00:00
Andrey Kiselev
393d84c969 *** empty log message *** 2006-06-08 14:28:45 +00:00
Andrey Kiselev
073cc29949 *** empty log message *** 2006-06-07 15:48:45 +00:00
Bob Friesenhahn
56f599add1 * libtiff/{tif_dirinfo.c, tif_print.c} : Fix crash in
TIFFPrintDirectory().  Joris Van Damme authored the fix.
2006-06-03 15:28:29 +00:00
Andrey Kiselev
49c40df5d4 *** empty log message *** 2006-04-21 16:48:17 +00:00
Andrey Kiselev
1222c3f1c2 *** empty log message *** 2006-04-20 12:49:00 +00:00
Frank Warmerdam
58cea4d46c use /EHsc and -D_CRT_SECURE_NO_DEPRECATE for VS2005 support 2006-04-19 01:14:00 +00:00
Joris Van Damme
b1c2b3ed27 Added support for planarconfig separate non-subsampled YCbCr to tif_getimage.c 2006-04-12 07:29:51 +00:00
Joris Van Damme
410042ad06 Revision of all RGB(A) put routines in tif_getimage.c, including bugfix in handling 16bit RGB with unassociated alpha 2006-04-11 13:33:19 +00:00
Joris Van Damme
e5e88271c0 minor improvement in tif_getimage.c gtTileSeparate and gtStripSeparate, no functionality change 2006-04-11 08:03:25 +00:00