Commit Graph

28 Commits

Author SHA1 Message Date
Bob Friesenhahn
8ba4a1c894 Support large files under Windows using tif_unix.c and libtiff tools. 2015-08-19 02:31:04 +00:00
Bob Friesenhahn
d21d2b3057 * libtiff/tif_config.vc.h: Make adjustments to match the new
definitions that configure produces, including for WIN64.  Still
needs to be tested.

'lld' is not assured by the run-time DLLs and so GCC warns.
Add TIFF_SIZE_T and TIFF_SIZE_FORMAT to provide a type definition
and printf format specifier to deal with printing values of
'size_t' type.  In particular, this was necessary for WIN64.
Added a configure test for if the system headers provide 'optarg'
(normal case) and block out the many explicit 'extern' statements
in the utilities.  This was found to be necessary under Windows
when getopt is in a DLL and the symbols are already imported with
dllimport via standard header files.
2015-06-21 01:09:09 +00:00
Bob Friesenhahn
e18809068d * tools/raw2tiff.c (main): Fix Coverity 1024887 "Unchecked return
value from library".
(guessSize): Fix Coverity 1024888 "Unchecked return value from
library".
(guessSize): Fix Coverity 1214162 "Ignoring number of bytes read".
(guessSize): Fix Coverity 1024889 "Unchecked return value from
library".
2015-05-30 16:13:29 +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
3db9feb595 introduce libport.h prototypes to reduce warnings 2009-01-22 20:53:07 +00:00
Andrey Kiselev
b90b47e6f7 libtiff 3.8.2 released. 2006-03-23 14:54:00 +00:00
Andrey Kiselev
a243e2c9a5 Do not set RowsPerStrip larger than ImageLength. As per bug
http://bugzilla.remotesensing.org/show_bug.cgi?id=1110
2006-03-15 12:48:24 +00:00
Andrey Kiselev
4ae296c255 Help message formatting fixed. 2006-02-07 11:08:31 +00:00
Frank Warmerdam
4cef528582 fixed last jpeg processing patch 2006-01-11 17:03:43 +00:00
Frank Warmerdam
3949657664 fix jpeg tool option processing: bug 1025 2006-01-11 16:59:35 +00:00
Andrey Kiselev
aa3a68ca4d Avoid warnings. 2005-09-13 13:17:57 +00:00
Andrey Kiselev
7f8e225500 Avoid warnings. 2004-11-28 14:44:31 +00:00
Andrey Kiselev
c53d8187bf Get rid of stream I/O functions. 2004-10-28 14:35:50 +00:00
Andrey Kiselev
9199e8d328 Avoid warnings. 2004-09-21 12:45:46 +00:00
Andrey Kiselev
b7d0571dc7 Avoid warnings. 2004-09-03 07:55:34 +00:00
Andrey Kiselev
c79429f4fe Removed message about LZW patents. 2004-07-24 19:03:16 +00:00
Andrey Kiselev
3d90486ac8 Warnings removed. 2004-06-29 19:19:17 +00:00
Andrey Kiselev
e3e77ee01c Avoid warnings. 2004-06-08 09:56:35 +00:00
Andrey Kiselev
cf7d2a38c4 Avoid warnings. 2004-06-04 13:46:25 +00:00
Andrey Kiselev
0fc6802536 sqrtf() replaced with sqrt(). 2003-11-22 08:42:06 +00:00
Andrey Kiselev
318222a1fd Removed #include <getopt.h>. 2003-11-21 21:15:05 +00:00
Andrey Kiselev
07c59b0650 Few improvements in correlation calculation function. 2003-11-12 09:19:53 +00:00
Andrey Kiselev
1c1f312e01 Implemented image size guessing using correlation coefficient calculation
between two neighbour lines.
2003-11-11 15:39:33 +00:00
Andrey Kiselev
19bfe77143 Added option `-p' to explicitly select color space of input image data. Closes
http://bugzilla.remotesensing.org/show_bug.cgi?id=364
2003-07-10 20:04:42 +00:00
Andrey Kiselev
c26da71049 Added library version reporting to all tools. 2003-03-12 14:05:05 +00:00
Andrey Kiselev
fe6e11556e Memory leak fixed. 2003-02-04 08:51:38 +00:00
Andrey Kiselev
10450bf936 Added -i commandline switch to handle different types of data interleaving 2002-08-12 15:32:37 +00:00
Andrey Kiselev
9d0b2d19e0 New tool: raw2tiff --- raw images to TIFF converter. No manual page yet. 2002-08-10 15:25:54 +00:00