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
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
164884d67d
Use toff_t rather than uint64 since it is a safer interface.
2008-12-30 00:12:11 +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
203fc17cb4
include tiffcrop
2008-12-13 15:23:15 +00:00
Andrey Kiselev
9498770c99
Use byte counts of proper size (uint64). Required for libtiff 4.0.
2008-09-05 07:06:26 +00:00
Andrey Kiselev
6ae8a4bd73
Use dynamically allocated array instead of static when constructing
...
output file names.
2008-09-05 06:44:32 +00:00
Andrey Kiselev
a1a53f9c74
Get rid of unsafe strcpy()/strcat() calls when doing the filename/path
...
construction.
2008-09-03 07:47:26 +00:00
Andrey Kiselev
3498398196
More appropriate format string in t2p_write_pdf_string(); avoid
...
signed/unsigned mismatch.
2008-09-03 07:35:25 +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
6e6e603753
fix some portability and warning issues with tiffcrop
2008-06-17 20:16:54 +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
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
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
Andrey Kiselev
33dbe6c262
Added support for MSVS 6.0.
2008-04-09 09:33:30 +00:00
Frank Warmerdam
e9cb45c2ee
fix 64bit type issues
2008-01-07 15:47:54 +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
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
8e40470908
Fix problem with alpha setting
2007-10-05 16:30:18 +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
Andrey Kiselev
612fe33e9d
Mapping routines definitions fixed.
2007-07-12 17:32:53 +00:00
Andrey Kiselev
3716b22ae8
Added missed extern optind.
2007-07-12 17:25:12 +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
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
e16f59e6e2
Number of problems fixed; now this utility can be built with gcc.
2007-07-04 11:31:36 +00:00
Andrey Kiselev
bf903e0588
Added support 16-bit images as per bug
...
http://bugzilla.remotesensing.org/show_bug.cgi?id=1566
Patch from William Bader.
2007-07-03 16:00:53 +00:00
Andrey Kiselev
9a19c1e905
Fix for TIFFTAG_JPEGTABLES tag fetching and significant upgrade of the whole
...
utility as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1560
Now we don't need tiffiop.h in tiff2pdf anymore and will open output PDF file
using TIFFClientOpen() machinery as it is implemented by Leon Bottou.
2007-07-03 15:47:05 +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
Joris Van Damme
70b42a0259
BigTIFF upgrade: tiffcp.c
2007-06-20 08:36:42 +00:00
Joris Van Damme
4bd2d780ce
BigTIFF upgrade: tiffcp.c
2007-06-20 08:35:57 +00:00
Joris Van Damme
78faf04967
BigTIFF upgrade: tiff2rgba.c (last minute correction)
2007-06-13 14:21:59 +00:00
Joris Van Damme
140aefa242
BigTIFF upgrade: tiff2rgba.c
2007-06-13 14:14:03 +00:00
Joris Van Damme
6b42b6bad5
BigTIFF upgrade: tiffdump.c, complete except for IO standard library functions
2007-06-13 13:01:43 +00:00
Joris Van Damme
6696d959b5
BigTIFF upgrade: tiffinfo.c
2007-06-12 13:08:09 +00:00
Andrey Kiselev
85cec3b0a7
Check the tmpfile() return status as per bug
...
http://bugzilla.remotesensing.org/show_bug.cgi?id=154
2007-04-27 16:47:14 +00:00
Andrey Kiselev
d47a85ce37
Avoid warnings.
2007-04-18 08:46:33 +00:00
Andrey Kiselev
dc8ae28aa2
Significant update in functionsality as per bug
...
http://bugzilla.remotesensing.org/show_bug.cgi?id=1525
2007-04-06 14:23:54 +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