Commit Graph

19 Commits

Author SHA1 Message Date
Even Rouault
76a2b9d619 * tools/tiffset.c: fix setting a single value for the ExtraSamples tag
(and other tags with variable number of values).
So 'tiffset -s ExtraSamples 1 X'. This only worked
when setting 2 or more values, but not just one.
2017-10-01 17:38:12 +00:00
Bob Friesenhahn
74295b7487 * tools/tiffset.c: tiffset now supports a -u option to unset a
tag.  Patch by Zach Baker. See
http://bugzilla.maptools.org/show_bug.cgi?id=2419
2012-12-04 03:02:37 +00:00
Tom Lane
84595b4fd7 Add accessor functions for the opaque type TIFFField. 2012-07-29 15:45:29 +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
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
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
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
Andrey Kiselev
c29dea9440 Properly handle tags with TIFF_VARIABLE writecount. As per bug
http://bugzilla.remotesensing.org/show_bug.cgi?id=1350
2007-02-24 17:14:14 +00:00
Andrey Kiselev
9ece518261 Avoid warnings. 2005-09-13 14:09:10 +00:00
Frank Warmerdam
d1e479c9a4 Updated header. 2005-02-24 14:47:11 +00:00
Andrey Kiselev
dcc1d61d82 Convert character option to integer value as per
bug http://bugzilla.remotesensing.org/show_bug.cgi?id=725
2004-12-25 20:17:00 +00:00
Andrey Kiselev
c401cfbdd9 Properly handle the different tag types. As per bug
http://bugzilla.remotesensing.org/show_bug.cgi?id=600
2004-11-11 11:18:09 +00:00
Andrey Kiselev
e921b6d3a8 Check the malloc return value (Dmitry V. Levin). 2004-10-26 18:22:47 +00:00
Andrey Kiselev
670cdcb608 Forgotten debug output removed. 2004-06-07 09:05:09 +00:00
Andrey Kiselev
7d2f892d06 tiffset now can set any libtiff supported tags. Tags can be supplied by the
mnemonic name or number.
2004-06-05 09:05:26 +00:00
Frank Warmerdam
b3587254f7 Increase -sf buffer size. 2004-05-03 16:39:11 +00:00
Frank Warmerdam
ad9dd219cd Fix bug in error output. 2002-01-16 17:50:05 +00:00
Frank Warmerdam
4b1d7e4c29 added TIFFRewriteDirectory 2001-09-26 17:42:18 +00:00
Frank Warmerdam
7b2e915893 New 2001-03-02 04:58:53 +00:00