Commit Graph

330 Commits

Author SHA1 Message Date
Andrey Kiselev
26134656a4 Added ability to compare the 32-bit integer and floating point data; complain
on unsupported bit depths.
2005-03-09 12:08:30 +00:00
Andrey Kiselev
185a73a37a Regenerated. 2005-03-08 19:16:14 +00:00
Andrey Kiselev
960dc2cc3d Use properly sized buffer in short arrays compirison as per bug
http://bugzilla.remotesensing.org/show_bug.cgi?id=785
2005-03-04 10:25:24 +00:00
Andrey Kiselev
546e7e62b7 Replace insecure mktemp() function with the tmpfile() as per bug
http://bugzilla.remotesensing.org/show_bug.cgi?id=78
2005-03-03 12:48:31 +00:00
Frank Warmerdam
d1e479c9a4 Updated header. 2005-02-24 14:47:11 +00:00
Andrey Kiselev
2348dccc56 Calculate margins taking in account resolution unit (Richard Nolde). 2005-02-06 17:58:01 +00:00
Bob Friesenhahn
97367b465e * tools/tiffgt.c: Fix problem on big-endian CPUs so that images
display more correctly.  Images display brighter than they should
on a Sun workstation.
2005-02-03 19:46:49 +00:00
Andrey Kiselev
6860033832 Fixed problem with page sizes as per bug
http://bugzilla.remotesensing.org/show_bug.cgi?id=742
2005-02-03 17:02:19 +00:00
Andrey Kiselev
c0d1f11f57 *** empty log message *** 2005-01-15 17:24:52 +00:00
Andrey Kiselev
007d721820 Interpret the -w and -h options independently. As per bug
http://bugzilla.remotesensing.org/show_bug.cgi?id=689
2005-01-12 12:51:26 +00:00
Andrey Kiselev
6be3d0ae56 Move the C++ stuff in the separate library called libtiffxx. 2005-01-11 15:07:06 +00:00
Andrey Kiselev
2988cbc5cc Fixed problem when read broken TIFFs with the wrong tag counts (Dmitry V.
Levin, Martin Pitt).
2005-01-05 20:38:38 +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
ffcc0cda93 libtiff 3.7.1 released. 2004-12-20 19:43:34 +00:00
Andrey Kiselev
be71b688b7 Updated. 2004-12-16 19:19:09 +00:00
Bob Friesenhahn
aa8ccdf669 * libtiff/tif_jpeg.c: Added a work-around in order to allow
compilation with the heavily modified version of libjpeg delivered
with Cygwin.
2004-12-01 01:59:10 +00:00
Andrey Kiselev
d9845f725c Be able to extract the first page (#0). As per bug
http://bugzilla.remotesensing.org/show_bug.cgi?id=690
2004-11-29 16:20:30 +00:00
Andrey Kiselev
7f8e225500 Avoid warnings. 2004-11-28 14:44:31 +00:00
Andrey Kiselev
3ea29bb2c0 *** empty log message *** 2004-11-21 16:28:42 +00:00
Andrey Kiselev
87a689dc5b Check the malloc results. 2004-11-13 18:50:24 +00:00
Andrey Kiselev
f9fb6c863e Regenerated from templates. 2004-11-11 14:47:47 +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
Frank Warmerdam
2e43d3e0ab removed extra newlines in usage message 2004-11-03 00:28:24 +00:00
Andrey Kiselev
167d8a7378 Fixed wrong variable data type when read Position tags (Tristan Hill). 2004-10-30 13:46:33 +00:00
Andrey Kiselev
c575a7fbf6 Avoid warnings. 2004-10-30 10:34:12 +00:00
Andrey Kiselev
6572c7ae4c Fixed wrong variable data type when read Resolution tags (Peter Fales). 2004-10-28 17:56:46 +00:00
Andrey Kiselev
c53d8187bf Get rid of stream I/O functions. 2004-10-28 14:35:50 +00:00
Andrey Kiselev
182977f9dd Get rid of stream I/O functions. 2004-10-28 14:30:17 +00:00
Frank Warmerdam
0db378ab84 provide explicit unsigned char casts for a few values to avoid warnings 2004-10-28 13:32:28 +00:00
Andrey Kiselev
e921b6d3a8 Check the malloc return value (Dmitry V. Levin). 2004-10-26 18:22:47 +00:00
Andrey Kiselev
542625aabe USe autoconf 1.9.2. 2004-10-15 07:50:45 +00:00
Andrey Kiselev
9c94241dae Fixes in help message. 2004-10-15 07:50:15 +00:00
Bob Friesenhahn
f9335b105d * tools/tiffcmp.c (leof): Renamed from 'eof' in order to avoid
conflict noticed under MinGW.
* ltmain.sh: Fix for MinGW compilation.
2004-10-14 04:53:56 +00:00
Andrey Kiselev
0244fc4839 Check the space allocation results. 2004-10-10 12:33:18 +00:00
Andrey Kiselev
fc2fea250f Readability fixes. 2004-10-10 11:58:16 +00:00
Andrey Kiselev
d7e1ac10e9 Move _TIFFmemset() behind the pointer check in t2p_init(). 2004-10-10 11:38:34 +00:00
Andrey Kiselev
4d968f4ac2 Fixed TransferFunction tag handling reported by Ross A. Finlayson. 2004-10-09 14:15:07 +00:00
Bob Friesenhahn
54d78d3e2b * contrib/iptcutil/README: Added the missing README which goes
along with iptcutil.
2004-10-05 01:28:40 +00:00
Andrey Kiselev
7111f6fbfa Write ImageWidth/Height tags to output file, as noted by Gennady Khokhorin. 2004-09-25 18:45:31 +00:00
Andrey Kiselev
6e08e7728d Avoid warnings. 2004-09-21 13:24:00 +00:00
Andrey Kiselev
9199e8d328 Avoid warnings. 2004-09-21 12:45:46 +00:00
Andrey Kiselev
2ed2911af2 Avoid warnings. 2004-09-21 12:36:02 +00:00
Andrey Kiselev
77e3c70670 Avoid warnings. 2004-09-21 12:16:51 +00:00
Andrey Kiselev
e758fc849e libtiff 3.7.0beta released. 2004-09-19 10:44:18 +00:00
Bob Friesenhahn
d0318870ba Fix tiffgt compilation. 2004-09-12 16:40:39 +00:00
Andrey Kiselev
f23dbd1008 *** empty log message *** 2004-09-12 09:17:34 +00:00
Bob Friesenhahn
fbfe4927b5 Configure and install tiffconf.h in order to satisfy application requirements. 2004-09-11 20:44:41 +00:00
Andrey Kiselev
e3f2f56044 Fixed reading TransferFunction tag as per bug
http://bugzilla.remotesensing.org/show_bug.cgi?id=590
2004-09-10 11:50:57 +00:00
Frank Warmerdam
8d9d8a5d0c added a couple more programs 2004-09-09 18:06:55 +00:00
Frank Warmerdam
6be58fbab2 avoid warnings 2004-09-09 18:06:14 +00:00
Frank Warmerdam
f26d7e60de Added newline at end to avoid warnings. 2004-09-09 18:02:13 +00:00
Andrey Kiselev
1016e7081c *** empty log message *** 2004-09-08 18:01:29 +00:00
Andrey Kiselev
0883c324fa Avoid warnings. 2004-09-03 13:57:34 +00:00
Andrey Kiselev
e7976c2ad8 Avoid warnings. 2004-09-03 08:16:01 +00:00
Andrey Kiselev
b7d0571dc7 Avoid warnings. 2004-09-03 07:55:34 +00:00
Andrey Kiselev
f6e12093d8 Avoid warnings. 2004-09-03 07:53:29 +00:00
Andrey Kiselev
8ae15719de Avoid warnings. 2004-09-02 14:51:04 +00:00
Andrey Kiselev
b75684f6ba Warnings removed. 2004-09-02 14:46:27 +00:00
Andrey Kiselev
1abc31ad68 *** empty log message *** 2004-09-02 14:36:33 +00:00
Andrey Kiselev
dafeac1024 Warnings removed. 2004-09-02 14:27:49 +00:00
Andrey Kiselev
03893d01cb Use the new functions in the code. 2004-09-01 18:43:33 +00:00
Andrey Kiselev
3446c24799 Work out getopt problems. 2004-08-25 18:34:55 +00:00
Andrey Kiselev
0d1363b9db Initialize arrays properly. 2004-08-25 13:43:14 +00:00
Andrey Kiselev
0abad54ad0 Avoid zero division in setupPageState() function;
properly initialize array in PSDataBW().
2004-08-25 13:14:18 +00:00
Andrey Kiselev
8c15798606 More fixes for bug http://bugzilla.remotesensing.org/show_bug.cgi?id=590
from Ross Finlayson.
2004-08-24 07:48:36 +00:00
Andrey Kiselev
176881c3a0 Fixed problem with uninitialized values. 2004-08-23 13:16:54 +00:00
Andrey Kiselev
80675eb205 Fixed a bunch of problems as per bug
http://bugzilla.remotesensing.org/show_bug.cgi?id=590
2004-08-23 12:00:30 +00:00
Andrey Kiselev
442be0e95d More fixes from Ross. 2004-08-21 08:09:49 +00:00
Andrey Kiselev
9f25189d68 Applied patch from Ross Finlayson that checks that the input file has
compression, photometric interpretation, etcetra, tags or if not than a more
descriptive error is returned.
2004-08-20 19:23:25 +00:00
Andrey Kiselev
8ed4e58b51 Fixed issue with missed big-endian checks as per bug
http://bugzilla.remotesensing.org/show_bug.cgi?id=586
2004-08-16 19:13:53 +00:00
Andrey Kiselev
532d2ad4a7 config.h.in and config.h.vc files renamed in the tif_config.h.in and
tif_config.h.vc.
2004-08-01 10:35:02 +00:00
Andrey Kiselev
c79429f4fe Removed message about LZW patents. 2004-07-24 19:03:16 +00:00
Frank Warmerdam
6d23304d26 added i flag to getopt call 2004-07-06 15:20:37 +00:00
Andrey Kiselev
95242031c6 Avoid warnings. 2004-07-03 16:04:01 +00:00
Andrey Kiselev
3d90486ac8 Warnings removed. 2004-06-29 19:19:17 +00:00
Andrey Kiselev
1b6abaacc6 Add missed RawsPerStrip setting. 2004-06-14 15:10:10 +00:00
Andrey Kiselev
e31354c76d bmp2tiff utility added. 2004-06-08 15:54:12 +00:00
Andrey Kiselev
e3e77ee01c Avoid warnings. 2004-06-08 09:56:35 +00:00
Andrey Kiselev
670cdcb608 Forgotten debug output removed. 2004-06-07 09:05:09 +00:00
Andrey Kiselev
3846ae64db *** empty log message *** 2004-06-06 17:56:21 +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
Andrey Kiselev
5c3f747c53 *** empty log message *** 2004-06-05 09:02:03 +00:00
Andrey Kiselev
19421d5e88 Avoid warnings. 2004-06-05 08:13:06 +00:00
Andrey Kiselev
3522985c3b Unused macro removed. 2004-06-05 08:11:26 +00:00
Andrey Kiselev
73e787830f Avoid warnings. 2004-06-04 14:16:14 +00:00
Andrey Kiselev
cf7d2a38c4 Avoid warnings. 2004-06-04 13:46:25 +00:00
Andrey Kiselev
c3fd399678 Avoid warnings. 2004-06-04 13:18:25 +00:00
Andrey Kiselev
37001a073e Avoid warnings. 2004-06-04 11:50:09 +00:00
Andrey Kiselev
82a4bcedb1 Get rid of __T() macro; avoid warnings. 2004-05-26 09:24:07 +00:00
Andrey Kiselev
52f0318fd1 Don't forget to copy Photometric Interpretation tag. 2004-05-25 16:02:22 +00:00
Andrey Kiselev
f23487170c Fixed problem with unproperly written multibyte files. Now output files will
be written using the same byte order flag as in the input image. See
http://bugzilla.remotesensing.org/show_bug.cgi?id=574
for details.
2004-05-20 19:20:52 +00:00
Andrey Kiselev
268005558a *** empty log message *** 2004-05-20 10:39:25 +00:00
Frank Warmerdam
5a1af25943 close out on normal termination 2004-05-19 15:16:45 +00:00
Frank Warmerdam
b3587254f7 Increase -sf buffer size. 2004-05-03 16:39:11 +00:00
Andrey Kiselev
f2c24c283a *** empty log message *** 2004-04-28 10:04:17 +00:00
Andrey Kiselev
65cc9a3473 *** empty log message *** 2004-04-26 08:36:40 +00:00
Andrey Kiselev
6302224e7f Fixed problem with unaligned access as per bug
http://bugzilla.remotesensing.org/show_bug.cgi?id=555
2004-04-20 14:54:05 +00:00
Andrey Kiselev
0545efcb1d Obsoleted configuration switches removed. 2004-04-20 14:24:31 +00:00
Andrey Kiselev
8d2cb0f304 MSVC updates. 2004-04-15 10:44:32 +00:00
Andrey Kiselev
1482f0bf43 MSVC updates. 2004-04-15 10:26:06 +00:00
Andrey Kiselev
2b90981925 *** empty log message *** 2004-04-15 09:48:25 +00:00
Andrey Kiselev
973a9b78d6 *** empty log message *** 2004-04-08 14:29:48 +00:00
Andrey Kiselev
ab8a4e1ea5 *** empty log message *** 2004-03-30 15:41:51 +00:00
Andrey Kiselev
ce3bd3e730 *** empty log message *** 2004-03-30 10:12:35 +00:00
Andrey Kiselev
fcee268927 *** empty log message *** 2004-03-29 11:28:16 +00:00
Andrey Kiselev
0f93533189 *** empty log message *** 2004-03-28 11:18:36 +00:00
Andrey Kiselev
1371eb08d4 Properly set Photometric Interpretation in case of JPEG compression of
grayscale images.
2004-03-26 15:52:47 +00:00
Andrey Kiselev
b6fd3dadab Added ZLIB support. 2004-03-26 14:55:31 +00:00
Andrey Kiselev
c2b433791e *** empty log message *** 2004-03-26 11:44:45 +00:00
Andrey Kiselev
c6cfb9d49b Don't emit warnings when Orientation tag does not present in the input image. 2004-03-26 11:39:31 +00:00
Frank Warmerdam
f5b2263340 Fixed main declaration as per
http://bugzilla.remotesensing.org/show_bug.cgi?id=513
2004-03-02 14:59:23 +00:00
Andrey Kiselev
7a8485f2f5 Copy JPEGTables tag contents for JPEG compressed images. Reported by Artem
Mirolubov.
2004-02-26 10:14:19 +00:00
Andrey Kiselev
8a0e796bf4 *** empty log message *** 2004-02-05 15:40:31 +00:00
Andrey Kiselev
3a8ae673b7 Fixed problem with wrong interpretation of the InkNames tag as per bug
http://bugzilla.remotesensing.org/show_bug.cgi?id=466
Memory leak fixed.
2004-01-28 12:12:01 +00:00
Andrey Kiselev
58117ffafa Get rid of C++ style comments. 2004-01-26 17:00:55 +00:00
Andrey Kiselev
17ea33280e Fixed problem with wrong Photometric setting for non-RGB images. 2004-01-02 10:02:14 +00:00
Andrey Kiselev
bf02156034 *** empty log message *** 2003-12-20 13:46:57 +00:00
Andrey Kiselev
578b287f87 Added support for alfa channel. Fixes
http://bugzilla.remotesensing.org/show_bug.cgi?id=428
2003-12-19 15:30:27 +00:00
Andrey Kiselev
885718995b Support for IJG JPEG library. 2003-12-07 13:20:41 +00:00
Ross Finlayson
80a9dce49d Some bugs fixed. 2003-12-01 10:51:39 +00:00
Ross Finlayson
a680b7ca3e Some bugs fixed. 2003-11-29 15:32:40 +00:00
Andrey Kiselev
ef971e32c1 Few cleanups and small improvements. 2003-11-28 15:10:05 +00:00
Andrey Kiselev
0f7778e39a Added tiff2pdf.exe. 2003-11-26 09:50:27 +00:00
Ross Finlayson
7975b0e5f9 Modified for CVS 2003-11-26 09:05:41 +00:00
Andrey Kiselev
23697416d3 Added support fpr tiff2pdf utility. 2003-11-26 07:41:22 +00:00
Ross Finlayson
1f0f3aaf86 tiff2pdf - converts a TIFF image to a PDF document
Written by Ross Finlayson
2003-11-25 16:39:22 +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
aeae0fe964 Unmaintained and platform dependent sgigt utility removed and replaced with
the completely rewritten portable tiffgt tool (depend on OpenGL and GLUT).
Initial revision, there is a lot of things to improve.
2003-11-21 13:28:18 +00:00
Andrey Kiselev
6b087cb603 *** empty log message *** 2003-11-12 19:14:33 +00:00
Andrey Kiselev
397eac63be Properly determine SUN Rasterfiles with the reverse byte order (it is reported
by the magic header field). Problem reported by Andreas Wiesmann.
2003-11-12 15:07:21 +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
21bbbcaa45 #include <strings.h> replaced with #include <string.h> 2003-10-17 21:25:51 +00:00
Andrey Kiselev
a24c2d6e45 *** empty log message *** 2003-10-09 08:41:00 +00:00
Andrey Kiselev
045fa685f1 Fixed possible endless loop as per bug
http://bugzilla.remotesensing.org/show_bug.cgi?id=404
2003-10-03 13:09:38 +00:00
Andrey Kiselev
798d99bdbd Switched to use TIFFReadRGBAImageOriented() instead of TIFFReadRGBAImage(). 2003-10-03 11:22:29 +00:00
Frank Warmerdam
e3ada41e8b Added -m (maxitems) flag to usage message. 2003-09-02 13:28:09 +00:00
Andrey Kiselev
6270b7262c int declaration replaced with the uint32 to support large images as per bug
http://bugzilla.remotesensing.org/show_bug.cgi?id=382
2003-08-21 10:00:06 +00:00
Andrey Kiselev
c6b36db6ee Added missing #include <strings.h>. 2003-08-12 07:51:03 +00:00
Andrey Kiselev
1cbcc49d2f Fixed PS comment emitted when FlateDecode is being used. Reported by Tom
Kacvinsky.
2003-08-08 19:46:20 +00:00
Frank Warmerdam
8c657db1a6 Avoid warning casting signed value to unsigned variable.
Patch supplied by J.A. Strother.
2003-07-26 03:50:08 +00:00
Frank Warmerdam
03f0fc1b10 applied patch for to support more pages in tiffsplit 2003-07-26 03:46:08 +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
97ed644e72 Memory leak fixed as reported by Robert S. Kissel. 2003-07-03 12:27:17 +00:00
Andrey Kiselev
adc20ad9b0 Fixed problem with unused data comparing as per bug
http://bugzilla.remotesensing.org/show_bug.cgi?id=349
`-z' option now can be used to set the number of reported different bytes.
2003-06-18 09:57:55 +00:00
Andrey Kiselev
2f4d3521b4 Added possibility to specify value -1 to -r option to get the entire image
as one strip. See http://bugzilla.remotesensing.org/show_bug.cgi?id=343
for details.
2003-06-10 06:15:36 +00:00
Andrey Kiselev
b446eb0782 Set the correct RowsPerStrip and PageNumber values as per bug
http://bugzilla.remotesensing.org/show_bug.cgi?id=343
2003-06-04 10:36:54 +00:00
Andrey Kiselev
320ac7822a Page numbering fixed, as per bug
http://bugzilla.remotesensing.org/show_bug.cgi?id=341
2003-05-25 05:56:26 +00:00
Andrey Kiselev
147baafe89 Removing previous patch. 2003-05-24 06:25:10 +00:00