Commit Graph

692 Commits

Author SHA1 Message Date
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