Commit Graph

2350 Commits

Author SHA1 Message Date
Andrey Kiselev
f52bf76e67 New. 2008-04-15 14:18:36 +00:00
Andrey Kiselev
758e3eb654 Fixed description of the TIFFTAG_NUMBEROFINKS tag. 2008-04-15 13:54:55 +00:00
Andrey Kiselev
a4317025a9 Remove test for "PixarTextureformat" tag because of its unclear status and
format of contents; test passes now.
2008-04-15 13:32:12 +00:00
Andrey Kiselev
481c2432f2 Use _TIFFRewriteField() instead of TIFFRewriteField(). 2008-04-15 12:53:07 +00:00
Andrey Kiselev
35b0e74065 Make nfields variable to be the size_t instead of uint32 in
TIFFMergeFieldInfo().
2008-04-14 09:35:43 +00:00
Andrey Kiselev
1bf045a2e1 *** empty log message *** 2008-04-14 09:05:50 +00:00
Andrey Kiselev
07818e9356 Get rid of some of "dereferencing type-punned" warnings by converting
tdir_offset field of TIFFDirEntry structure into union.
2008-04-14 09:05:25 +00:00
Andrey Kiselev
3dc82cc7b7 *** empty log message *** 2008-04-10 11:11:54 +00:00
Andrey Kiselev
4441831fef Added record about TIFFRewriteField() removal. 2008-04-10 11:11:43 +00:00
Andrey Kiselev
8c8cc432e5 TIFFRewriteField() renamed into _TIFFRewriteField() and moved out from the
public interface. Type of its 'count' parameter changed from uint32 to
tmsize_t.
2008-04-10 11:08:48 +00:00
Andrey Kiselev
3c99131a41 Make tif_nfields and tif_nfieldscompat fields of the tiff structure have the
size_t type instead of uint32.
2008-04-10 10:42:53 +00:00
Andrey Kiselev
33dbe6c262 Added support for MSVS 6.0. 2008-04-09 09:33:30 +00:00
Andrey Kiselev
08f6554c50 Use custom functions _TIFFUInt64ToFloat() and _TIFFUInt64ToDouble() to
convert 64-bit integers into floating point values on MSVS 6.0 platform.
2008-04-09 08:58:11 +00:00
Bob Friesenhahn
88d7b2ff9f Reduce compilation warnings. 2008-03-28 01:42:06 +00:00
Bob Friesenhahn
7e4803b57f Need to include string.h for strncmp() 2008-03-28 01:10:39 +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
e8ca21280f added missing swab functions needed for tiffdump 2008-02-04 05:41:00 +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
f2f169eb0e add extra casts in TIFFRewriteField to avoid warnings 2008-01-07 15:50:02 +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
41feaacb78 Fix 64-bit warnings when compiling under MSVC 2005 (x64). 2008-01-01 15:49:00 +00:00
Frank Warmerdam
bee6b8237d Changes to reflect the fact that TIFFFieldWithTag() and TIFFFieldWithName()
now return TIFFField pointers instead of TIFFFieldInfo pointers.
2008-01-01 15:46:28 +00:00
Frank Warmerdam
3e75fc789f Added ssize_t typedef on Windows since it doesn't exist. This makes
it compile again on Windows.
2008-01-01 15:45:14 +00:00
Frank Warmerdam
e47164d103 Fix 64-bit warnings when compiling under MSVC 2005 (x64).
Fixed bad calls to TIFFErrorExt()
2008-01-01 15:41:49 +00:00
Frank Warmerdam
9c57ea610d Fix 64-bit warnings when compiling under MSVC 2005 (x64). 2008-01-01 15:41:22 +00:00
Frank Warmerdam
8b57e5cd14 modify CreateFileMapping() for win64 2008-01-01 15:35:54 +00:00
Frank Warmerdam
bdc4949566 support WIN64 builds 2008-01-01 15:27:41 +00:00
Frank Warmerdam
19fb2c9918 added rewrite_tag test 2008-01-01 13:57:21 +00:00
Frank Warmerdam
586a6869b7 New 2008-01-01 13:55:23 +00:00
Frank Warmerdam
2b64a8aac4 added TIFFRewriteField() 2007-12-31 21:55:07 +00:00
Frank Warmerdam
d0de6a396d Keep track of TIFF_DIRTYSTRIP separately from TIFF_DIRTYDIRECT to indicate
that the strip offset/size values are dirty but nothing else about the
directory is dirty.  In flush handle "just stripmaps dirty" as a special
case that just rewrites these values without otherwise modifying the
directory on disk using TIFFRewriteField().

We also modify logic so that in update mode the directory is not
marked dirty on read, but only when something is changed.  This
means we need to keep track of updates to the stripmap stuff in
TIFFAppendToStrip().
2007-12-31 21:52:16 +00:00
Frank Warmerdam
a7e32673b8 improve switching between encode/decode (gdal bug #2033) 2007-12-10 19:58:41 +00:00
Frank Warmerdam
6311aae796 fix typo in last fix 2007-11-23 21:14:43 +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