Commit Graph

168 Commits

Author SHA1 Message Date
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
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
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
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
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
4a62d3518d * 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:54:46 +00:00
Frank Warmerdam
0e5ee26f1c Fixed "artist" field number properly (#2129). 2009-12-03 19:27:55 +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
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
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
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
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
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
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
90c84b3440 major update from Richard Nolde (#1888) 2008-05-24 00:18:55 +00:00
Frank Warmerdam
d4099b8eee update for 4.0.0beta1 release 2008-05-18 16:25:47 +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
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
Andrey Kiselev
42bed3384e libtiff 4.0.0alpha released. 2007-07-13 14:57:37 +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
f14d1a5636 All makefile templates regenerated. 2007-06-27 12:03:37 +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
71b780383f Hopefully fixed botched upgrade of libtool. 2007-06-26 16:38:43 +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
d7b45da13f Updated to reflect recent changes in tiffcrop. 2007-04-06 14:27:03 +00:00
Andrey Kiselev
ef833c655f Regenerated. 2007-02-24 15:03:47 +00:00
Andrey Kiselev
bddf26622c New. 2007-02-24 14:48:01 +00:00
Andrey Kiselev
33465b3610 Document missing '-i' command line switch as per bug
http://bugzilla.remotesensing.org/show_bug.cgi?id=1437
2007-02-24 11:19:33 +00:00
Andrey Kiselev
24c0091bb2 Correct functions definitions as per bug
http://bugzilla.remotesensing.org/show_bug.cgi?id=1319
2006-10-13 07:22:01 +00:00
Andrey Kiselev
01e076865e Add explanation about trailing comma in image indicies. 2006-08-03 17:51:32 +00:00
Andrey Kiselev
514fb56f86 Regenerated. 2006-06-07 15:55:20 +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
94212b3d81 Improvements in page formatting as per bug
http://bugzilla.remotesensing.org/show_bug.cgi?id=114
2006-04-20 12:17:19 +00:00
Andrey Kiselev
4b9b4181fb Added description for '-b' option. 2006-04-20 12:07:41 +00:00
Andrey Kiselev
b90b47e6f7 libtiff 3.8.2 released. 2006-03-23 14:54:00 +00:00
Andrey Kiselev
0dcb9ef111 libtiff 3.8.1 released. 2006-03-13 15:06:17 +00:00
Andrey Kiselev
dfa63c0370 *** empty log message *** 2006-03-01 11:20:33 +00:00
Andrey Kiselev
d4438d6fd4 Added ability to create multipage TIFFs from the list of input files as per
bug: http://bugzilla.remotesensing.org/show_bug.cgi?id=1077
2006-02-15 13:12:30 +00:00
Andrey Kiselev
f714980a3d libtool related stuff updated from the 2.1a branch. 2006-01-23 18:21:45 +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
Andrey Kiselev
0776b32d29 3.8.0 released. 2005-12-29 22:01:44 +00:00
Bob Friesenhahn
a45bff3b5a * libtiff/tif_jpeg.c: Improve compilation under MinGW. 2005-12-27 00:08:14 +00:00
Andrey Kiselev
7b02f2cde8 Added link to libtiff home page. 2005-11-02 11:07:18 +00:00
Andrey Kiselev
c31c1537d2 Added '-r' parameter description. 2005-10-31 14:02:20 +00:00
Andrey Kiselev
9ebdf9eaf6 Typo fixed. 2005-10-25 13:32:28 +00:00
Andrey Kiselev
a2f6aef7f2 Added missed description of the '-m' option. 2005-10-23 19:11:34 +00:00
Andrey Kiselev
b65e32c4cf pelling corrected. 2005-09-20 11:04:16 +00:00
Andrey Kiselev
0aabc6ec8c spelling corrected. 2005-09-20 11:02:57 +00:00
Andrey Kiselev
c8001089b1 Spelling fixed. 2005-09-20 10:53:44 +00:00