Frank Warmerdam
34b7557400
Remove obsolete field info api, add missing items in libtiff.def ( #2315 , #2316 )
2011-04-20 15:23:38 +00:00
Bob Friesenhahn
feab28eac4
Release v4-0-0beta7.
2011-04-09 21:01:00 +00:00
Bob Friesenhahn
c546a4ccf8
* configure.ac: Should use AC_CANONICAL_HOST since host specifies
...
the run-time target whereas target is used to specify the final
output target if the package is a build tool (like a compiler),
which libtiff is not. Resolves libtiff bug 2307 "Use
AC_CANONICAL_HOST macro".
2011-04-09 15:43:03 +00:00
Bob Friesenhahn
519b727004
* configure.ac: Support configuring TIFF_INT64_FORMAT and
...
TIFF_UINT64_FORMAT appropriately for MinGW32.
* tools/tiffdump.c (ReadDirectory): MinGW32 needs to use WIN32
printf conventions for 64-bit types because it uses the WIN32 CRT.
* libtiff/{tif_dumpmode.c,tif_luv.c,tif_lzw.c,tif_print.c,
tif_read.c,tif_strip.c,tif_thunder.c}: MinGW32 needs to use WIN32
printf conventions for 64-bit types because it uses the WIN32 CRT.
* tools/tiff2pdf.c (t2p_write_pdf_string): Fix printf syntax not
understood by WIN32 CRT.
2011-04-02 20:54:08 +00:00
Bob Friesenhahn
b69a1998be
* libtiff/tif_ojpeg.c: Fixes to compile with MinGW32 GCC.
...
* tools/fax2ps.c (main): Use tmpfile() rather than mkstemp() since
it is much more portable. Tmpfile is included in ISO/IEC
9899:1990 and the WIN32 CRT.
2011-04-02 19:30:20 +00:00
Frank Warmerdam
a9a1d1c65f
Add -d and -sd switches to tiffset to allow operation on a particular
...
directory instead of just the first (jef)
2011-03-26 12:07:20 +00:00
Frank Warmerdam
0cea5839cc
Correct potential buffer overflow with thunder encoded files with wrong
...
bitspersample set (CVE-2011-1167)
http://bugzilla.maptools.org/show_bug.cgi?id=2300
2011-03-21 16:02:27 +00:00
Frank Warmerdam
4dda1458c6
allow zero length runs at start of fax3 lines
2011-03-10 20:23:07 +00:00
Frank Warmerdam
8e9fb97983
incorporate a fix for possible fax3 decoding overflow (CVE-2011-0192)
2011-03-03 01:38:25 +00:00
Frank Warmerdam
010a264507
avoid divide by zero in degenerate case ( #2296 )
2011-02-23 21:57:59 +00:00
Frank Warmerdam
91479f4d42
avoid leaks if TIFFRGBAImageBegin() fails ( #2295 )
2011-02-23 21:46:09 +00:00
Frank Warmerdam
202ed69f77
fix rawcp/rawcc maintinance for lzma compressor
2011-02-22 21:55:13 +00:00
Frank Warmerdam
bc3bc9925b
added a configure option to enable CHUNKY_STRIP_READ support (--enable-chunky-strip-read)
2011-02-18 21:54:22 +00:00
Frank Warmerdam
82361dfa04
implement optional support for deferred strip/tile offset/size loading
2011-02-18 20:53:04 +00:00
Frank Warmerdam
29beec44d2
remove unused variable
2011-02-11 19:21:03 +00:00
Frank Warmerdam
1b73b3d840
fix buffer overrun problem with error/warning report in non-console win32 builds (popups) ( #2293 )
2011-02-09 18:05:00 +00:00
Olivier Paquet
addab4c8aa
Added support for TIFFTAG_SMINSAMPLEVALUE and TIFFTAG_SMAXSAMPLEVALUE to have
...
different values for each sample. Presents the min/max of all samples by
default for compatibility. TIFFSetField/TIFFGetField can be made to handle
those tags as arrays by changing the new TIFFTAG_PERSAMPLE pseudo tag.
http://www.asmail.be/msg0055458208.html
2011-01-24 21:06:31 +00:00
Frank Warmerdam
a8785bf9f4
fix tif_rawcp/rawcc handling for zip, note it is missing for pixarlog
2011-01-06 16:00:23 +00:00
Frank Warmerdam
c89c8c07c7
ensure rawcp and rawcc are maintained by JPEG decoder, improve read ahead for CHUNKY_STRIP_READ_SUPPORT
2011-01-06 05:51:13 +00:00
Lee Howard
32f670caaa
Another regression fix.
2011-01-04 02:52:00 +00:00
Lee Howard
863cbb8823
* libtiff/tif_jpeg.c: Fix regression with 3 band image caused by
...
commit on 2010-12-14 submitted by e-mail from
Even Rouault <even.rouault@mines-paris.org>
2011-01-04 02:38:51 +00:00
Olivier Paquet
cb413f61f5
* libtiff/tif_dirwrite.c: Fixed writing of TIFFTAG_REFERENCEBLACKWHITE.
...
http://bugzilla.maptools.org/show_bug.cgi?id=2266
2010-12-31 17:51:08 +00:00
Andrey Kiselev
c46a15cf97
*** empty log message ***
2010-12-23 13:39:00 +00:00
Andrey Kiselev
9f29be434f
Remove remaining CVS stuff.
2010-12-22 15:33:48 +00:00
Andrey Kiselev
c748648843
Added missed record for LZMA codec.
2010-12-22 15:30:54 +00:00
Bob Friesenhahn
9f3e08cf94
Needed to add tif_lzma.c to the Makefile.
2010-12-18 16:30:15 +00:00
Lee Howard
bf44739aea
* libtiff/tif_dirread.c: tolerate some cases where
...
FIELD_COLORMAP is missing
http://bugzilla.maptools.org/show_bug.cgi?id=2189
2010-12-15 01:05:02 +00:00
Lee Howard
69bb27992d
* libtiff/tif_read.c: change read_ahead to tmsize_t
...
http://bugzilla.maptools.org/show_bug.cgi?id=2222
2010-12-15 00:43:25 +00:00
Lee Howard
ccdc78ec32
* configure.ac, libtiff/Makefile.am: Build tif_win32.c on
...
Windows except on Cygwin
http://bugzilla.maptools.org/show_bug.cgi?id=2224
2010-12-15 00:37:00 +00:00
Lee Howard
cb405082bb
* tools/gif2tiff.c: fix buffer overrun
...
http://bugzilla.maptools.org/show_bug.cgi?id=2270
2010-12-15 00:22:44 +00:00
Lee Howard
7a01aa5d24
* libtiff/tif_jpeg.c: reduce usage of JCS_UNKNOWN in order
...
to improve compatibility with various viewers
submitted by e-mail from Dwight Kelly <dkelly@apago.com>
2010-12-14 23:58:39 +00:00
Lee Howard
630dc52808
* tools/fax2ps.c: be consistent with page-numbering
...
http://bugzilla.maptools.org/show_bug.cgi?id=2225
2010-12-14 03:16:45 +00:00
Lee Howard
907489cd99
* libtiff/tif_color.c: prevent crash in handling bad TIFFs
...
resolves CVE-2010-2595
http://bugzilla.maptools.org/show_bug.cgi?id=2208
2010-12-14 02:22:41 +00:00
Lee Howard
d96a823670
* tools/tiffcrop.c: new release by Richard Nolde
...
http://bugzilla.maptools.org/show_bug.cgi?id=2004
2010-12-14 02:03:24 +00:00
Lee Howard
3cb55ee486
* tools/tiff2pdf.c: fix colors for images with RGBA
...
interleaved data
http://bugzilla.maptools.org/show_bug.cgi?id=2250
2010-12-13 05:41:38 +00:00
Lee Howard
7f39edf058
* libtiff/tif_dirread.c: fix for Zeiss LSM and Canon CR2 files
...
http://bugzilla.maptools.org/show_bug.cgi?id=2164
2010-12-13 05:15:50 +00:00
Lee Howard
3c383d15fa
* tools/tiff2pdf.c: remove invalid duplication for Lab
...
http://bugzilla.maptools.org/show_bug.cgi?id=2162
2010-12-12 06:58:26 +00:00
Lee Howard
6972648b60
* libtiff/tif_jpeg.c: fix use of clumplines calculation
...
http://bugzilla.maptools.org/show_bug.cgi?id=2149
2010-12-12 01:55:00 +00:00
Lee Howard
9cf3b2cd4c
* tools/fax2ps.c: replace unsafe tmpfile() with mkstemp()
...
http://bugzilla.maptools.org/show_bug.cgi?id=2118
2010-12-12 01:11:56 +00:00
Lee Howard
6975482a3a
* libtiff/tif_ojpeg.c, libtiff/tif_pixarlog.c,
...
libtiff/tif_zip.c: fix build errors for VC6
http://bugzilla.maptools.org/show_bug.cgi?id=2105
2010-12-11 23:52:27 +00:00
Lee Howard
7335412b5a
* libtiff/tif_dirread.c: warnings cleanup
...
http://bugzilla.maptools.org/show_bug.cgi?id=2092
2010-12-11 23:22:06 +00:00
Lee Howard
3467f1927f
* libtiff/tif_stream.cxx: warnings cleanup
...
http://bugzilla.maptools.org/show_bug.cgi?id=2091
2010-12-11 23:12:29 +00:00
Lee Howard
e70efefb35
* tools/tiff2pdf.c: add fill-page option
...
http://bugzilla.maptools.org/show_bug.cgi?id=2051
2010-12-11 22:47:49 +00:00
Lee Howard
9be929fe91
* libtiff/tif_dirread.c: modify warnings
...
http://bugzilla.maptools.org/show_bug.cgi?id=2016
2010-12-11 22:28:30 +00:00
Lee Howard
6707ee9df3
* libtiff/tif_ojpeg.c: fix buffer overflow on problem data
...
http://bugzilla.maptools.org/show_bug.cgi?id=1999
2010-12-11 21:23:21 +00:00
Lee Howard
046a69c47a
* tools/tiffinfoce.c: strip byte counts are uint64* now
2010-12-11 19:33:48 +00:00
Lee Howard
22ea884fcd
2010-12-08 Lee Howard <faxguy@howardsilvan.com>
...
* libtiff/tif_ojpeg.c: fix crash when reading a TIFF with a zero
or missing byte-count tag
* tools/tiffsplit.c: abort when reading a TIFF without a byte-count
per http://bugzilla.maptools.org/show_bug.cgi?id=1996
2010-12-11 19:16:47 +00:00
Lee Howard
15c0109ab3
fix crash when reading a badly-constructed TIFF per
...
http://bugzilla.maptools.org/show_bug.cgi?id=1994
2010-12-08 17:50:49 +00:00
Bob Friesenhahn
faf5f3ebae
* libtiff-4.pc.in: Added libtiff pkg-config .pc file support.
...
Patch by Vincent Torri.
2010-11-27 20:54:51 +00:00
Frank Warmerdam
756ab12a5e
various fixes for win32 porting
2010-10-21 19:07:32 +00:00
Lee Howard
4536beaed1
See: http://bugzilla.maptools.org/show_bug.cgi?id=1983
...
* tools/tiff2ps.c: improvements and enhancements from Richard Nolde
with additional command line options for Document Title,
Document Creator, and Page Orientation
2010-09-26 05:39:31 +00:00
Bob Friesenhahn
28d10ec5bd
* tools/tiffcrop.c: Patch from Richard Nolde to avoid a
...
potentially unterminated buffer due to using an exceptionally long
file name.
2010-07-13 15:51:37 +00:00
Andrey Kiselev
548b403d10
Fixed ID buffer filling in t2p_write_pdf_trailer(), thanks to Dmitry V. Levin.
2010-07-08 09:37:52 +00:00
Andrey Kiselev
9969e64b8f
Really reset the tag count in CheckDirCount() to expected value as the warning
...
message suggests. As per bug http://bugzilla.maptools.org/show_bug.cgi?id=1963
2010-07-07 15:13:57 +00:00
Andrey Kiselev
897e7e9491
Properly handle TIFFTAG_PAGENUMBER, TIFFTAG_HALFTONEHINTS,
...
TIFFTAG_YCBCRSUBSAMPLING, TIFFTAG_DOTRANGE which should be set by value.
2010-07-06 14:30:38 +00:00
Andrey Kiselev
1cf8becfc2
Don't use assertions in _TIFFFieldWithTag() and _TIFFFieldWithName() if the
...
tag is not found in the tag table. This should be normal situation and
returned NULL value should be properly handled by the caller.
2010-07-06 14:16:05 +00:00
Andrey Kiselev
2a34d038af
Avoid wrong math du to the signed/unsigned integer type conversions. As per
...
bug http://bugzilla.maptools.org/show_bug.cgi?id=2207
2010-07-02 13:39:10 +00:00
Andrey Kiselev
a32e672131
Fix the count for WhitePoint tag as per bug
...
http://bugzilla.maptools.org/show_bug.cgi?id=2042
2010-07-02 12:02:56 +00:00
Andrey Kiselev
35f7b45fa3
*** empty log message ***
2010-07-02 10:02:19 +00:00
Andrey Kiselev
b3395bf1f1
*** empty log message ***
2010-07-02 09:48:25 +00:00
Andrey Kiselev
0cd06f1134
*** empty log message ***
2010-07-01 15:56:56 +00:00
Andrey Kiselev
5122fdb3e0
*** empty log message ***
2010-06-30 16:04:50 +00:00
Andrey Kiselev
5a48f5167f
*** empty log message ***
2010-06-30 15:41:49 +00:00
Andrey Kiselev
f4eff24f63
*** empty log message ***
2010-06-30 14:12:03 +00:00
Andrey Kiselev
aa50cfd0aa
*** empty log message ***
2010-06-25 12:24:13 +00:00
Bob Friesenhahn
ee8700a596
* tools/tiffcrop.c: Patch from Richard Nolde. Reject YCbCr
...
subsampled data since tiffcrop currently doesn't support it. Fix
JPEG support.
2010-06-16 01:54:48 +00:00
Frank Warmerdam
20ea500233
fix invocation of tagcompare function ( #2201 )
2010-06-13 19:37:23 +00:00
Frank Warmerdam
75f7f78120
various fixes for tiff2pdf ( #2211 )
2010-06-13 19:25:54 +00:00
Bob Friesenhahn
e492476518
* libtiff/tiffiop.h (TIFFSafeMultiply): Need more castings to
...
avoid compiler warnings if parameter types are not sign
consistent.
2010-06-12 02:55:30 +00:00
Bob Friesenhahn
af78267c3b
* libtiff 4.0.0alpha6 released.
2010-06-11 22:58:57 +00:00
Bob Friesenhahn
d30823e382
* tools/tiffcrop.c: Applied patch from Richard Nolde: Corrected
...
European page size dimensions. Added an option to allow the user
to specify a custom page size on the command line. Fix the case
where a page size specified with a fractional part was being
coerced to an integer by retyping the variables that define the
paper size.
2010-06-11 22:25:36 +00:00
Bob Friesenhahn
a6ea66c2af
* html/index.html: Update for the 3.9.3 release.
2010-06-11 22:08:01 +00:00
Bob Friesenhahn
bbf76bce0f
* tools/tiffcp.c (tiffcp): Applied Tom Lane's patch to reject
...
YCbCr subsampled data since tiffcp currently doesn't support it.
http://bugzilla.maptools.org/show_bug.cgi?id=2097
2010-06-11 21:23:12 +00:00
Bob Friesenhahn
5ec011cfe7
* Update libtool to version 2.2.10.
2010-06-11 20:31:38 +00:00
Bob Friesenhahn
ce4acf471d
* libtiff/tiffiop.h (TIFFSafeMultiply): Work properly if
...
multiplier is zero.
2010-06-10 22:53:11 +00:00
Bob Friesenhahn
d36017b938
* libtiff/tif_fax3.c (Fax3SetupState): Yesterday's fix for
...
CVE-2010-1411 was not complete.
* libtiff/tiffiop.h (TIFFSafeMultiply): New macro to safely
multiply two integers. Returns zero if there is an integer
overflow.
* tools/tiffcp.c (main): tiffcp should not leak memory if an error
is reported when reading the input file.
2010-06-09 17:17:13 +00:00
Bob Friesenhahn
3adc33842b
* Update libtool to version 2.2.8.
...
* libtiff/tif_fax3.c (Fax3SetupState): Avoid under-allocation of
buffer due to integer overflow in TIFFroundup() and several other
potential overflows. In conjunction with the fix to TIFFhowmany(),
fixes CVE-2010-1411.
* libtiff/tiffiop.h (TIFFhowmany): Return zero if parameters would
result in an integer overflow. This causes TIFFroundup() to also
return zero if there would be an integer overflow.
2010-06-08 23:32:22 +00:00
Bob Friesenhahn
bfbc717684
* contrib: Add an emacs formatting mode footer to all source files
...
so that emacs can be effectively used.
2010-06-08 18:55:15 +00:00
Frank Warmerdam
13ab8a93b6
added -x switch to tiffcp to (re)number allt he pages ( #2203 )
2010-06-03 17:01:01 +00:00
Olivier Paquet
2dacef9ea0
* libtiff/tif_dirread.c: Restored TIFFReadDirEntryFloat function in order
...
to add missing TIFF_SETGET_FLOAT case to TIFFFetchNormalTag.
* libtiff/tif_dirinfo.c: Use correct set_field_type for
TIFFTAG_PIXAR_FOVCOT so it is readable again (regression from 3.9.2).
http://bugzilla.maptools.org/show_bug.cgi?id=2192
2010-05-08 18:34:26 +00:00
Frank Warmerdam
8542b73911
ensure quality always set in JPEGPreEncode (gdal #3539 )
2010-05-07 18:38:46 +00:00
Andrey Kiselev
c7f2a88a9e
Regenerated from the source.
2010-05-06 10:01:02 +00:00
Olivier Paquet
5d55f189fc
* libtiff/tif_print.c: Fixed printing of TIFFTAG_REFERENCEBLACKWHITE which
...
had stopped working. Also made it always print 6 floats instead of
2*SamplesPerPixel.
http://bugzilla.maptools.org/show_bug.cgi?id=2191
http://bugzilla.maptools.org/show_bug.cgi?id=2186
* man/TIFFGetField.3tiff, man/TIFFSetField.3tiff: Fixed doc to reflect the
fact that libtiff considers TIFFTAG_REFERENCEBLACKWHITE to be 6 floats.
2010-05-06 02:56:46 +00:00
Frank Warmerdam
e3c51cb8e6
fix to use memcmp(), not memcpy() for checking jpeg tables header
2010-05-05 18:38:38 +00:00
Frank Warmerdam
80b552d22f
avoid spurious jpeg table updates
2010-04-21 20:46:17 +00:00
Olivier Paquet
117b4bd0c6
* libtiff/tif_dirinfo.c: Fixed reading of 4 pixar tags.
...
http://bugzilla.maptools.org/show_bug.cgi?id=2139
2010-04-20 15:25:29 +00:00
Bob Friesenhahn
9319bd574a
* libtiff/tif_dir.c (_TIFFVSetField): Add a special error case for
...
when the tag count value is zero. Error handling is still a
regression since in 3.9.2, empty tags are skipped (with a warning)
rather than returning a hard error and refusing to read the file.
* tools/ppm2tiff.c (main): While case for parsing comment line
requires extra parenthesis to work as expected. Reported by
Thomas Sinclair.
2010-04-10 19:22:34 +00:00
Frank Warmerdam
d85328cfc9
enable reading of very large strips in chunks (gdal #3514 )
2010-04-02 19:26:22 +00:00
Frank Warmerdam
23532025ca
use TIFFRewriteDirectory() in TIFFFlush() to migrate directories if needed
2010-03-31 06:40:10 +00:00
Frank Warmerdam
fda0494e8e
change type of dec_bitsleft to uint64 to support 256MB+ strips (gdal #3512 )
2010-03-30 17:02:57 +00:00
Bob Friesenhahn
4e0d97f83c
* libtiff/tif_aux.c (_TIFFCheckRealloc): Improve error message so
...
that it is clearly a memory allocation error message, and also
includes the size of the allocation request.
2010-03-10 18:56:48 +00:00
Lee Howard
614095e3d0
* libtiff/tif_fax3.c: Don't return error on badly-terminated MMR
...
strips.
http://bugzilla.maptools.org/show_bug.cgi?id=2029
2010-02-22 19:24:39 +00:00
Lee Howard
4d1b67f0a0
Add bugzilla link.
2010-02-22 19:15:09 +00:00
Lee Howard
d473b19b31
* libtiff/tif_jpeg.c: Do not generate a JPEGTables tag when creating
...
the JPEG TIFF as is is not required in order to prevent it from
being unused and filled with invalid data. (Leave it to be
generated by later activity.)
* tools/tiff2pdf.c: Write the JPEG SOI headers into the TIFF strip
data rather than skipping them. This fixes the ability to view in
Acrobat Reader, Evince, and Ghostscript.
2010-02-22 19:10:07 +00:00
Frank Warmerdam
bbef7fb9cb
Made JPEGDecodeRaw() check for buffer overruns. Made so that when working
...
with downsampled images a stub function reporting an error is used for
tif_decoderow. We cannot meaningfully support reading scanlines in this
situation. (#1936 )
2009-12-04 01:37:57 +00:00
Frank Warmerdam
e1b49e08af
reset tif_scanlinesize after changes to upsampling ratios ( #1936 )
2009-12-04 01:21:52 +00:00
Frank Warmerdam
b7b6095407
fix resource leaks on error ( #2125 )
2009-11-30 18:42:53 +00:00
Frank Warmerdam
199977b6af
Return to handling TIFFTAG_REFERENCEBLACKWHITE as a field in the TIFF
...
directory instead of as a custom(generic) field to avoid a potential
reentrancy problem (#2125 )
2009-11-30 18:19:15 +00:00
Frank Warmerdam
917274b864
Make TIFFDisplay argument in TIFFCIELabToRGBInit const, and display_sRGB static and const.
2009-11-30 12:22:26 +00:00
Bob Friesenhahn
d4038e39c5
* libtiff 4.0.0alpha5 released.
2009-11-04 17:49:25 +00:00
Bob Friesenhahn
444e4b4866
* tools/tiffcrop.c: Updated tiffcrop from Richard Nolde. This
...
version has undergone substantial testing with arbitrary sample
bit depths. Also eliminates GCC compilation warnings.
2009-11-03 15:24:27 +00:00
Bob Friesenhahn
2b14d5a792
* port/libport.h: Add extern declarations for getopt standard
...
globals.
2009-11-02 14:44:13 +00:00
Bob Friesenhahn
d35a21f9d2
* libtiff/tif_lzw.c (LZWDecode, LZWDecodeCompat): Fix warnings
...
noticed in 64-bit build of libtiff with Visual Studio 2005.
Resolves "Bug 2067 - Visual Studio 2005 64-bit warnings in
tif_lzw.c", http://bugzilla.maptools.org/show_bug.cgi?id=2067
2009-11-01 00:16:49 +00:00
Bob Friesenhahn
ffd59cba70
* libtiff/tif_pixarlog.c (PixarLogEncode): Fix non-important
...
warning noticed in Visual Studio 2005 build. Resolves "Bug 2068 -
Visual Studio 2005 64-bit warning in tif_pixarlog.c",
http://bugzilla.maptools.org/show_bug.cgi?id=2068
2009-10-31 23:42:27 +00:00
Bob Friesenhahn
c667654d23
* libtiff/tif_dirread.c: Eliminate GCC "dereferencing type-punned
...
pointer" warnings.
2009-10-29 20:04:07 +00:00
Bob Friesenhahn
5d031f1fd9
* html/tools.html: Add manual page links, and a summary
...
description of tiffcrop.
2009-10-28 22:13:37 +00:00
Bob Friesenhahn
8743e53820
* configure.ac: x86_64 should use the same fill order as i386.
2009-10-07 20:15:26 +00:00
Bob Friesenhahn
eecc3405f3
* tools/tiffcrop.c, man/tiffcrop.1: New tiffcrop from Richard
...
Nolde. Major updates to add significant functionality for reading
and writing tile based images with bit depths not a multiple of 8
which cannot be handled by tiffcp.
2009-09-24 21:57:11 +00:00
Bob Friesenhahn
05a3dfef44
* libtiff/tif_ojpeg.c (OJPEGWriteHeaderInfo): IJG JPEG 7 needs
...
do_fancy_upsampling=FALSE in order to read raw data. Resolves
"Bug 2090 - OJPEG crash with libjpeg v7".
http://bugzilla.maptools.org/show_bug.cgi?id=2090
2009-09-03 20:45:22 +00:00
Frank Warmerdam
867070ff59
capture errors properly from readtile/strip ( #2071 )
2009-09-03 17:41:02 +00:00
Bob Friesenhahn
840cb0032f
* tools/{tiffcrop.c,tiffgt.c}: Applied patch from Oden Eriksson to
...
fix build with gcc when using the "-Wformat
-Werror=format-security" flags.
2009-08-30 17:38:51 +00:00
Bob Friesenhahn
61635e13d2
* test/{bmp2tiff_palette.sh, bmp2tiff_rgb.sh, gif2tiff.sh,
...
ppm2tiff_pbm.sh, ppm2tiff_pgm.sh, ppm2tiff_ppm.sh}: Additional
utilities tests.
2009-08-29 20:45:09 +00:00
Bob Friesenhahn
df3386927a
* tools/tiffinfo.c: tiffinfo should return error status to the
...
caller. Register a private error callback to accomplish that.
2009-08-28 23:46:56 +00:00
Bob Friesenhahn
0f2332cec2
* test/Makefile.am (TIFFIMAGES): Add test images in BMP, GIF, and
...
PNM formats so that we will be able to test more of the tools.
While adding these test images I notice that bmp2tiff and gif2tiff
only support ancient versions of their respective formats.
2009-08-28 17:46:01 +00:00
Bob Friesenhahn
aeb4c8be72
* libtiff 4.0.0alpha4 released.
...
* HOWTO-RELEASE: Improved release instructions.
2009-08-27 17:40:49 +00:00
Bob Friesenhahn
cd06c91a13
* man/{TIFFClose.3tiff,raw2tiff.1,tiffcmp.1,tiffsplit.1}: Applied
...
fixes for "Bug 2023 - nroff errors in manual pages".
http://bugzilla.maptools.org/show_bug.cgi?id=2023
2009-08-24 19:13:40 +00:00
Bob Friesenhahn
614f95d8b1
* tools/{rgb2ycbcr.c, tiff2rgba.c}: Applied fixes for "Bug 2079 -
...
CVE-2009-2347 libtiff: integer overflows in various inter-color
space conversion tools".
http://bugzilla.maptools.org/show_bug.cgi?id=2079
2009-08-24 17:15:05 +00:00
Bob Friesenhahn
ed66fcdf7b
* libtiff/tif_print.c (TIFFPrintDirectory): Apply fix from Jay
...
Berkenbilt for "Bug 2024 - possible null pointer dereference with
one-line fix".
http://bugzilla.maptools.org/show_bug.cgi?id=2024
2009-08-24 16:51:14 +00:00
Bob Friesenhahn
4dd4bbeccb
* libtiff/tif_dirread.c (TIFFReadCustomDirectory): Apply patch
...
from Jay Berkenbilt for "Bug 1895 - logic error in tif_dirread.c:
segfault after setting tdir_tag = IGNORE".
http://bugzilla.maptools.org/show_bug.cgi?id=1895
2009-08-24 16:43:40 +00:00
Bob Friesenhahn
b772c5a5d6
Export certain variables (MAKE, MAKEFLAGS, MEMCHECK) to tests and
...
added 'memcheck' and 'ptrcheck' targets to make it easy to run the
tests under valgrind.
2009-08-23 23:23:19 +00:00
Bob Friesenhahn
63e03ebcec
tiffcrop.sh into a collection of many specific tests. Re-wrote
...
all of the existing tests to be based on some simple shell
functions. Make distcheck works again.
2009-08-23 22:58:25 +00:00
Bob Friesenhahn
3237e5e177
* test/Makefile.am, test/tiffcrop*.sh: Split previously existing
...
tiffcrop.sh into a collection of many specific tests.
2009-08-23 20:19:40 +00:00
Bob Friesenhahn
9ebd845680
* test/tiffcp-logluv.sh: Fix test so that it works with a VPATH
...
build.
2009-08-21 18:00:07 +00:00
Bob Friesenhahn
38521145a6
* test/Makefile.am (AUTOMAKE_OPTIONS): Colorized tests was not
...
actually activated since it needed to be enabled in this
Makefile.am. Also activated parallel-tests mode since it offers
useful features such as per-test .log files and a summary test
report .log file.
2009-08-21 16:52:14 +00:00
Bob Friesenhahn
8297307011
* configure.ac: Updated autotools. Autoconf 2.64, Automake 1.11,
...
libtool 2.2.6. Enabled support for silent build rules
(--enable-silent-rules or 'make V=0') and colorized tests.
* html/{index.html, v3.9.0.html}: Update for 3.9.0 release.
2009-08-20 22:57:38 +00:00
Frank Warmerdam
f4da7ed52e
add -c sgilog to tiffcp, add minimal logluv testing
2009-06-30 17:25:26 +00:00
Frank Warmerdam
54600ed574
back out patch from #2065 and apply patch from #1085 for a better underflow fix that errors properly.
2009-06-30 04:15:24 +00:00
Frank Warmerdam
1517c5cd8f
Remove an inappropriate assertion that often fails on oddly sized 12bit
...
jpeg compressed ycbcr images.
2009-06-26 20:55:54 +00:00
Frank Warmerdam
73dee97814
fixed buffer underflow bug ( #2065 )
2009-06-22 04:47:12 +00:00
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
Frank Warmerdam
80e50e5564
add TIFFFindField() to libtiff.def ( #1891 )
2008-05-27 16:26:16 +00:00
Frank Warmerdam
dfb5da9ad4
remove SIZEOF_LONG macro as it is unused
2008-05-26 19:05:51 +00:00
Frank Warmerdam
27ebd800ef
remove use of GlobalAlloc() (bug 1885)
2008-05-26 15:38:31 +00:00
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
Joris Van Damme
0394c208ba
minor refactoring of tif_getimage.c to accomodate planed functionality extension - no functionality change at this time
2006-04-08 08:01:34 +00:00
Joris Van Damme
aeded5016d
resolved memory leak in tif_ojpeg
2006-04-08 02:15:40 +00:00
Joris Van Damme
6dc5e60719
fix of bug in tif_getimage.c and tif_ojpeg.c, reported by Frank testing tif2rgba on smallliz
2006-04-07 00:08:56 +00:00
Joris Van Damme
1721a41f08
new ojpeg support
2006-04-04 02:00:08 +00:00
Frank Warmerdam
2f8a9c2b71
recompute upsample flag when photometric flag reset
2006-03-29 22:24:44 +00:00
Joris Van Damme
84281a8949
strip size related bugfix in tif_jpeg encode raw
2006-03-25 18:04:34 +00:00
Joris Van Damme
64bd1138df
bugfix to correctly pass size of last truncated strip data to TIFFWriteEncodedStrip
2006-03-25 17:52:37 +00:00
Joris Van Damme
993becfa19
bugfix of tif_jpeg decode raw
2006-03-25 08:01:08 +00:00
Joris Van Damme
fd00bb5c5c
*** empty log message ***
2006-03-25 03:11:32 +00:00
Joris Van Damme
5dbfd5054d
*** empty log message ***
2006-03-25 03:09:24 +00:00
Andrey Kiselev
b90b47e6f7
libtiff 3.8.2 released.
2006-03-23 14:54:00 +00:00
Andrey Kiselev
7f8cea0b57
*** empty log message ***
2006-03-21 16:45:43 +00:00
Andrey Kiselev
d50df6e082
*** empty log message ***
2006-03-17 14:59:50 +00:00
Andrey Kiselev
970107e773
*** empty log message ***
2006-03-16 12:41:28 +00:00
Andrey Kiselev
65ee861c99
*** empty log message ***
2006-03-15 20:58:15 +00:00
Andrey Kiselev
58eec60cc9
*** empty log message ***
2006-03-15 12:50:23 +00:00
Andrey Kiselev
80dc9736c2
*** empty log message ***
2006-03-14 13:45:04 +00:00
Andrey Kiselev
60734505f3
*** empty log message ***
2006-03-13 14:52:12 +00:00
Andrey Kiselev
4aaddf9843
*** empty log message ***
2006-03-07 15:56:16 +00:00
Andrey Kiselev
1e7ead2850
*** empty log message ***
2006-03-03 14:14:40 +00:00
Andrey Kiselev
dfa63c0370
*** empty log message ***
2006-03-01 11:20:33 +00:00
Andrey Kiselev
9c79d5ec0a
*** empty log message ***
2006-02-27 14:29:56 +00:00
Andrey Kiselev
5e5bcec4b9
*** empty log message ***
2006-02-26 17:56:38 +00:00
Andrey Kiselev
bb47850863
*** empty log message ***
2006-02-23 16:08:23 +00:00
Andrey Kiselev
989d90c025
*** empty log message ***
2006-02-15 13:35:04 +00:00
Andrey Kiselev
b936f969d0
*** empty log message ***
2006-02-09 16:19:45 +00:00
Frank Warmerdam
0a02af9e2d
fix for non-YCbCr jpeg compressed files
2006-02-07 14:28:48 +00:00
Andrey Kiselev
a03acbb37c
*** empty log message ***
2006-02-07 11:15:40 +00:00
Andrey Kiselev
ec7407b0a3
*** empty log message ***
2006-02-06 16:12:27 +00:00
Andrey Kiselev
cbcbc019f8
*** empty log message ***
2006-02-03 16:39:27 +00:00
Andrey Kiselev
f714980a3d
libtool related stuff updated from the 2.1a branch.
2006-01-23 18:21:45 +00:00
Frank Warmerdam
3949657664
fix jpeg tool option processing: bug 1025
2006-01-11 16:59:35 +00:00
Bob Friesenhahn
d6b209d3b4
* configure.ac: Fix with_default_strip_size comparison as reported
...
by Norihiko Murase.
2006-01-09 16:56:03 +00:00
Bob Friesenhahn
c1961f4111
* test/Makefile.am (LIBTIFF): Due to linking against libtiff
...
incorrectly, tests were not actually testing the uninstalled
libtiff. Now they are.
2006-01-08 18:57:33 +00:00
Andrey Kiselev
634d926c5c
*** empty log message ***
2006-01-04 17:35:18 +00:00
Bob Friesenhahn
803e1ec055
Fix wrong formatting in ChangeLog entry.
2006-01-02 23:52:52 +00:00
Bob Friesenhahn
c3402403ea
* html/man/Makefile.am (htmldoc): Fix htmldoc rule so that it can
...
be used if build directory is not the same as source directory.
* man/{TIFFGetField.3tiff, man/TIFFSetField.3tiff}: Documented
TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, and TIFFTAG_XMLPACKET,
and re-sorted tag names in alphabetical order.
2006-01-02 23:50:44 +00:00
Bob Friesenhahn
b3f4f82894
* tools/bmp2tiff.c (main): Fixed warning regarding returning
...
inconsistent types from a condition.
2005-12-29 00:33:51 +00:00
Bob Friesenhahn
0bb0df6024
* tools/tiffcmp.c (CheckLongTag): Eliminate warning due to printf
...
format.
* tools/bmp2tiff.c: Reduce compilation warnings on big-endian CPUs.
2005-12-29 00:15:56 +00:00
Joris Van Damme
362fa44476
*** empty log message ***
2005-12-28 06:48:12 +00:00
Joris Van Damme
4f0408980d
*** empty log message ***
2005-12-28 01:52:57 +00:00
Joris Van Damme
95a36b9d6a
*** empty log message ***
2005-12-28 01:19:08 +00:00
Andrey Kiselev
31b3935acf
*** empty log message ***
2005-12-27 14:51:40 +00:00
Bob Friesenhahn
a45bff3b5a
* libtiff/tif_jpeg.c: Improve compilation under MinGW.
2005-12-27 00:08:14 +00:00
Andrey Kiselev
0a94d89b9e
*** empty log message ***
2005-12-26 14:59:55 +00:00
Bob Friesenhahn
f1e1b43b92
* html/build.html: Added some additional instructions for when
...
building using MSVC under Windows. Also fixed two HTML syntax
errors and used HTML Tidy to tidy up the HTML syntax and
formatting.
2005-12-24 22:25:05 +00:00
Andrey Kiselev
7eeb1f0f66
*** empty log message ***
2005-12-24 16:17:49 +00:00
Andrey Kiselev
7ebb66ffdd
*** empty log message ***
2005-12-23 16:28:38 +00:00
Joris Van Damme
22db422fc0
*** empty log message ***
2005-12-23 01:18:58 +00:00
Joris Van Damme
f5ebfca202
*** empty log message ***
2005-12-21 16:58:01 +00:00
Andrey Kiselev
0e1df0641f
*** empty log message ***
2005-12-21 14:25:28 +00:00
Joris Van Damme
5cbfc68f06
*** empty log message ***
2005-12-21 12:23:13 +00:00
Andrey Kiselev
839c207d31
*** empty log message ***
2005-12-20 16:51:57 +00:00
Frank Warmerdam
52a32e155c
*** empty log message ***
2005-12-16 06:00:42 +00:00
Andrey Kiselev
f6e4a0fc44
*** empty log message ***
2005-12-14 14:01:21 +00:00
Andrey Kiselev
7901f28671
*** empty log message ***
2005-12-13 16:43:22 +00:00
Andrey Kiselev
cb16e6c28a
*** empty log message ***
2005-12-12 16:13:47 +00:00
Andrey Kiselev
2db87cddd6
*** empty log message ***
2005-12-09 17:53:10 +00:00
Andrey Kiselev
cdc1624cde
*** empty log message ***
2005-12-09 14:53:11 +00:00
Andrey Kiselev
b6862f8414
*** empty log message ***
2005-12-09 14:48:31 +00:00
Andrey Kiselev
01d4598d03
*** empty log message ***
2005-12-07 18:14:53 +00:00
Andrey Kiselev
10651e14b9
*** empty log message ***
2005-12-05 16:01:58 +00:00
Andrey Kiselev
50253597da
*** empty log message ***
2005-11-30 14:25:59 +00:00
Frank Warmerdam
b86f199feb
preliminary support for MS MDI format, bug 1002
2005-11-21 03:35:05 +00:00
Frank Warmerdam
ec9f4f2943
*** empty log message ***
2005-11-21 01:08:20 +00:00
Frank Warmerdam
84e575367f
*** empty log message ***
2005-11-03 18:45:04 +00:00
Andrey Kiselev
76c578fb53
*** empty log message ***
2005-10-31 16:01:42 +00:00
Frank Warmerdam
f22f53188c
*** empty log message ***
2005-10-21 20:52:10 +00:00
Joris Van Damme
4f05858cf7
*** empty log message ***
2005-10-20 05:08:09 +00:00
Frank Warmerdam
994f850048
*** empty log message ***
2005-10-15 16:03:20 +00:00
Andrey Kiselev
0dfb8e88b0
*** empty log message ***
2005-10-07 17:29:14 +00:00
Bob Friesenhahn
c59cbfc844
* html/support.html: Fixed link to documentation on Greg Ward's
...
LogLuv TIFF format.
2005-09-30 15:38:02 +00:00
Andrey Kiselev
0281ef42c8
*** empty log message ***
2005-09-28 12:12:11 +00:00
Andrey Kiselev
d0f393f81a
*** empty log message ***
2005-09-20 11:21:45 +00:00
Frank Warmerdam
00ac9cab12
Added FSeek in open to fix issues on Solaris
2005-09-12 16:31:04 +00:00
Andrey Kiselev
284e51c2ed
*** empty log message ***
2005-09-12 13:51:11 +00:00
Frank Warmerdam
0270815179
Bug 922: resetting custom string field causes double free
2005-09-06 03:25:16 +00:00
Frank Warmerdam
bd97c7a680
avoid signed/unsigned warning
2005-08-12 15:25:38 +00:00
Frank Warmerdam
9647ad7005
*** empty log message ***
2005-08-12 15:23:41 +00:00
Frank Warmerdam
165334b180
fixed bigendian support for swabbing double complex samples
2005-07-31 03:33:11 +00:00
Andrey Kiselev
ab98d7b94d
*** empty log message ***
2005-07-28 14:50:04 +00:00
Andrey Kiselev
8b53cb555b
*** empty log message ***
2005-07-27 19:58:03 +00:00
Andrey Kiselev
eba86f65b1
*** empty log message ***
2005-07-26 11:31:45 +00:00
Andrey Kiselev
a4e14a77de
*** empty log message ***
2005-07-25 15:24:59 +00:00
Andrey Kiselev
7a68cf1b07
*** empty log message ***
2005-07-21 13:57:19 +00:00
Andrey Kiselev
a1c58639ff
*** empty log message ***
2005-07-12 12:38:08 +00:00
Andrey Kiselev
673f12364f
*** empty log message ***
2005-07-07 16:44:50 +00:00
Andrey Kiselev
ec99dd71ea
*** empty log message ***
2005-07-06 11:38:45 +00:00
Andrey Kiselev
dbf1dbcbc2
*** empty log message ***
2005-07-04 12:43:24 +00:00
Andrey Kiselev
6625d0be12
*** empty log message ***
2005-07-01 15:26:06 +00:00
Andrey Kiselev
dcbfebbb38
*** empty log message ***
2005-06-23 13:38:13 +00:00
Andrey Kiselev
dec907699f
*** empty log message ***
2005-06-14 04:58:18 +00:00
Andrey Kiselev
70dacb5aaa
*** empty log message ***
2005-06-07 14:50:18 +00:00
Andrey Kiselev
6dc0ba7598
*** empty log message ***
2005-06-06 14:17:38 +00:00
Andrey Kiselev
ef56e4aee7
*** empty log message ***
2005-06-03 13:42:04 +00:00
Andrey Kiselev
27d1a1dced
*** empty log message ***
2005-06-01 10:41:15 +00:00
Andrey Kiselev
d5805f0715
*** empty log message ***
2005-06-01 10:19:14 +00:00
Andrey Kiselev
91e77d24ea
*** empty log message ***
2005-05-26 08:26:08 +00:00
Andrey Kiselev
3fab53b53f
*** empty log message ***
2005-05-25 13:38:41 +00:00
Frank Warmerdam
dd8c4bf8a0
*** empty log message ***
2005-05-23 22:41:54 +00:00
Frank Warmerdam
f1826525bc
avoid bogus stripbytecount messages if stripoffset zero
2005-05-22 17:36:50 +00:00
Andrey Kiselev
fafd1f0c70
*** empty log message ***
2005-05-17 14:19:18 +00:00
Frank Warmerdam
3a6e371160
bug 843: similar fix to last for Longs and Anys version of function
2005-05-06 14:35:50 +00:00
Frank Warmerdam
30565aceb6
*** empty log message ***
2005-05-06 14:20:41 +00:00
Andrey Kiselev
3b8d6df405
*** empty log message ***
2005-05-05 20:54:24 +00:00
Frank Warmerdam
0238118292
bug 843: handle files with too many bits/sample values
2005-05-05 18:03:22 +00:00
Andrey Kiselev
80273875a5
*** empty log message ***
2005-04-27 18:38:09 +00:00
Andrey Kiselev
4d7b714feb
*** empty log message ***
2005-04-14 20:36:14 +00:00
Andrey Kiselev
9e952bf801
*** empty log message ***
2005-04-14 11:58:33 +00:00
Andrey Kiselev
1125b82d29
*** empty log message ***
2005-04-13 14:08:13 +00:00
Andrey Kiselev
e66b99c926
*** empty log message ***
2005-04-08 10:18:06 +00:00
Andrey Kiselev
07c020dc31
*** empty log message ***
2005-03-30 13:49:42 +00:00
Andrey Kiselev
48aae34a68
*** empty log message ***
2005-03-22 14:26:12 +00:00
Andrey Kiselev
85cbe2fbc2
*** empty log message ***
2005-03-21 11:27:31 +00:00
Andrey Kiselev
5cdbfc3664
*** empty log message ***
2005-03-18 14:28:58 +00:00
Andrey Kiselev
9f65685aa9
*** empty log message ***
2005-03-18 09:53:44 +00:00
Andrey Kiselev
44a965a47c
*** empty log message ***
2005-03-17 14:44:06 +00:00
Andrey Kiselev
fa6e0b93a1
*** empty log message ***
2005-03-15 15:17:44 +00:00