Commit Graph

413 Commits

Author SHA1 Message Date
Andrey Kiselev
2ad35de456 Added tiffcrop utility. 2007-02-24 15:26:09 +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
c0123c7895 This utility does not work properly on big-endian architectures. It was fixed
including the bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1149
2007-01-31 14:46:59 +00:00
Andrey Kiselev
7fd8cdbe99 Attempt to fix bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1149 2007-01-27 18:38:34 +00:00
Mateusz Loskot
367a35efb3 TIFF library ported to Windows CE platform. 2007-01-15 18:40:39 +00:00
Andrey Kiselev
c905dc9878 tiffset.exe added to the list of utilities to be build. 2006-10-13 11:06:07 +00:00
Andrey Kiselev
576c461a28 Get rid of BSD integer types as per bug
http://bugzilla.remotesensing.org/show_bug.cgi?id=1319
2006-10-13 10:26:56 +00:00
Frank Warmerdam
06ab41916f Fix handling of -q values. (bug 587) 2006-06-19 20:12:07 +00:00
Andrey Kiselev
5a80b5f42e Fixed floating point comparison logic as per bug
http://bugzilla.remotesensing.org/show_bug.cgi?id=1191
2006-06-08 11:52:27 +00:00
Andrey Kiselev
3c3ae7d37c More fixes for character type safety. 2006-06-08 11:27:11 +00:00
Andrey Kiselev
a0fdd6eb0c Fixed buffer overflow condition in t2p_write_pdf_string() as per bug
http://bugzilla.remotesensing.org/show_bug.cgi?id=1196
2006-06-08 10:45:35 +00:00
Andrey Kiselev
01a173d4b8 Added help line for 'jbig' compression option. 2006-06-07 16:34:32 +00:00
Andrey Kiselev
514fb56f86 Regenerated. 2006-06-07 15:55:20 +00:00
Andrey Kiselev
9ff07be06c Added support for JBIG compression scheme (34661 code) contributed by Lee
Howard. As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=896
2006-06-07 15:47:43 +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
f7035cc549 Unified line ending characters (always use '\n') as per bug
http://bugzilla.remotesensing.org/show_bug.cgi?id=1163
2006-04-21 15:09:34 +00:00
Andrey Kiselev
550cfd7a32 Properly set the binary mode for stdin stream as per bug
http://bugzilla.remotesensing.org/show_bug.cgi?id=1141
2006-04-20 12:36:23 +00:00
Andrey Kiselev
e3fe101bf5 Fixed typos as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1139 2006-04-20 12:04:35 +00:00
Andrey Kiselev
b90b47e6f7 libtiff 3.8.2 released. 2006-03-23 14:54:00 +00:00
Andrey Kiselev
bd5bff3cf6 Use runtime paths linker flags when rpath option enabled. 2006-03-23 14:23:43 +00:00
Andrey Kiselev
fb8fe4b17f Makefiles improvements as per bug
http://bugzilla.remotesensing.org/show_bug.cgi?id=1128
2006-03-21 16:41:07 +00:00
Andrey Kiselev
bc6736f91d Fixed win32 I/O functions usage as per bug
http://bugzilla.remotesensing.org/show_bug.cgi?id=1127
2006-03-21 16:37:51 +00:00
Andrey Kiselev
b5a9d9642e Do not set RowsPerStrip bigger than image length. 2006-03-21 16:24:33 +00:00
Andrey Kiselev
ee7446ab86 Avoid warnings. 2006-03-20 15:29:53 +00:00
Andrey Kiselev
08300a98ec Fixed wrong TIFFerror() invocations as per bug
http://bugzilla.remotesensing.org/show_bug.cgi?id=1125
2006-03-17 14:58:57 +00:00
Andrey Kiselev
9ebb2b1a85 Fixed reading the input stream from stdin as per bug
http://bugzilla.remotesensing.org/show_bug.cgi?id=1124
2006-03-17 14:56:42 +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
0dcb9ef111 libtiff 3.8.1 released. 2006-03-13 15:06:17 +00:00
Andrey Kiselev
71818ed599 Added support for PBM files as per bug
http://bugzilla.remotesensing.org/show_bug.cgi?id=1044
2006-03-01 10:41:24 +00:00
Andrey Kiselev
2aad3477e6 Functions t2p_sample_rgbaa_to_rgb() and t2p_sample_rgba_to_rgb() was used in
place of each other, that was resulted in problems with RGBA images with
associated alpha. As per bug
http://bugzilla.remotesensing.org/show_bug.cgi?id=1097
2006-02-26 17:55:42 +00:00
Andrey Kiselev
6923ef1e64 Properly scale all the pages when converting multipage TIFF with
/width/height/center options set. As per bug
http://bugzilla.remotesensing.org/show_bug.cgi?id=1080
2006-02-23 14:50:32 +00:00
Andrey Kiselev
035bbb2d62 Do not create output file until all option checks will be done. As per bug
http://bugzilla.remotesensing.org/show_bug.cgi?id=1072
2006-02-15 13:33:59 +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
be7063caea Avoid crashing in case of image unsupported by TIFFRGBAImage interface. 2006-02-09 16:00:34 +00:00
Frank Warmerdam
0a02af9e2d fix for non-YCbCr jpeg compressed files 2006-02-07 14:28:48 +00:00
Andrey Kiselev
4ae296c255 Help message formatting fixed. 2006-02-07 11:08:31 +00:00
Andrey Kiselev
f714980a3d libtool related stuff updated from the 2.1a branch. 2006-01-23 18:21:45 +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
0776b32d29 3.8.0 released. 2005-12-29 22:01:44 +00:00
Bob Friesenhahn
b3f4f82894 * tools/bmp2tiff.c (main): Fixed warning regarding returning
inconsistent types from a condition.
2005-12-29 00:33:51 +00:00
Bob Friesenhahn
0bb0df6024 * tools/tiffcmp.c (CheckLongTag): Eliminate warning due to printf
format.
* tools/bmp2tiff.c: Reduce compilation warnings on big-endian CPUs.
2005-12-29 00:15:56 +00:00
Andrey Kiselev
f7f87d0e1d Avoid warnings. 2005-12-27 12:20:53 +00:00
Bob Friesenhahn
a45bff3b5a * libtiff/tif_jpeg.c: Improve compilation under MinGW. 2005-12-27 00:08:14 +00:00
Andrey Kiselev
038f178e4b Added many error reporting messages; fixed integer overflow as per bug
http://bugzilla.remotesensing.org/show_bug.cgi?id=789
2005-12-20 16:50:21 +00:00
Andrey Kiselev
52cdf33845 Return non-zero status when reading fails (again). 2005-12-14 13:59:52 +00:00
Andrey Kiselev
b1ec8c0aee Return non-zero status when reading fails. 2005-12-13 16:42:39 +00:00
Andrey Kiselev
796777f5c5 Print EXIF directory contents if exist. 2005-12-09 14:52:48 +00:00
Andrey Kiselev
1fd9c5e60b Added version reporting when running without parameters. 2005-12-06 22:18:13 +00:00
Frank Warmerdam
b86f199feb preliminary support for MS MDI format, bug 1002 2005-11-21 03:35:05 +00:00
Frank Warmerdam
60867efab2 Added .libs and .deps. 2005-11-21 01:05:57 +00:00
Andrey Kiselev
9f662299df Properly calculate sizes of temporary arrays as per bug
http://bugzilla.remotesensing.org/show_bug.cgi?id=943
2005-10-31 14:48:59 +00:00
Andrey Kiselev
dcbd209375 Added option '-r' to set RowsPerStrip parameter as per bug
http://bugzilla.remotesensing.org/show_bug.cgi?id=944
2005-10-31 13:40:38 +00:00
Andrey Kiselev
7a09fc0735 Typo fixed. 2005-10-31 13:31:10 +00:00
Andrey Kiselev
8c703c1e6e Fixed typeshift and typemask arrays initialization problem as per bug
http://bugzilla.remotesensing.org/show_bug.cgi?id=946
2005-10-31 13:08:19 +00:00
Andrey Kiselev
85c3925771 Fixed possible integer overflow error as per bug
http://bugzilla.remotesensing.org/show_bug.cgi?id=965
2005-10-31 12:59:30 +00:00
Andrey Kiselev
9640ac3133 Copy fax related fields over splitted parts as per bug
http://bugzilla.remotesensing.org/show_bug.cgi?id=983
2005-10-31 12:08:17 +00:00
Andrey Kiselev
ad6776b90d Fixed crash when reading malformed tags. 2005-09-28 12:10:22 +00:00
Andrey Kiselev
d753432f58 Added missed 'break' statement as per bug
http://bugzilla.remotesensing.org/show_bug.cgi?id=932
2005-09-20 11:19:38 +00:00
Andrey Kiselev
9ece518261 Avoid warnings. 2005-09-13 14:09:10 +00:00
Andrey Kiselev
76346d1aeb Avoid warnings. 2005-09-13 13:40:48 +00:00
Andrey Kiselev
aa3a68ca4d Avoid warnings. 2005-09-13 13:17:57 +00:00
Andrey Kiselev
a63512c436 libtiff 3.7.4 released. 2005-09-12 14:04:01 +00:00
Andrey Kiselev
7f535ed3f1 Added support for TIFF_IFD datatype. 2005-07-25 13:48:58 +00:00
Andrey Kiselev
f41cf89f4c *** empty log message *** 2005-07-12 16:07:43 +00:00
Andrey Kiselev
d83db532b1 Fixed WhitePoint tag copying. 2005-07-06 11:38:17 +00:00
Andrey Kiselev
dcbfebbb38 *** empty log message *** 2005-06-23 13:38:13 +00:00
Andrey Kiselev
9bc7885982 Print two characters per loop in the t2p_write_pdf_trailer(). As per bug
http://bugzilla.remotesensing.org/show_bug.cgi?id=594
2005-06-23 13:28:33 +00:00
Andrey Kiselev
180a3afd4a Use MacOS X OpenGL framework when appropriate. As per bug
http://bugzilla.remotesensing.org/show_bug.cgi?id=844
2005-06-23 11:50:05 +00:00
Andrey Kiselev
9a8e13c032 Avoid warnings. 2005-06-23 11:27:35 +00:00
Andrey Kiselev
10279e08aa Avoid warnings. 2005-06-23 10:54:02 +00:00
Andrey Kiselev
baffebb4f2 Few optimizations for tiffgt target. 2005-06-02 08:29:19 +00:00
Andrey Kiselev
f0240f75fe Include tif_config.h. 2005-05-26 18:42:56 +00:00
Andrey Kiselev
db6a96056d Fixed format string when read PPM file header with the fscanf() function. As
per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=861
2005-05-25 13:36:56 +00:00
Andrey Kiselev
1ca5b48653 Avoid warnings. 2005-05-25 10:35:13 +00:00
Andrey Kiselev
53fb873cc2 Check for JPEGTables tag presence before copying. 2005-05-17 14:18:48 +00:00
Andrey Kiselev
db9bba1c19 Calculate the tilewidth properly; added new option '-b' to use interpolation
in output PDF files (Bruno Ledoux).
2005-05-05 20:52:57 +00:00
Andrey Kiselev
46f2c1aa78 Copy the PhotometricInterpretation tag from the input file. 2005-04-27 18:37:19 +00:00
Andrey Kiselev
e09ee59337 Use Adobe Deflate compression code instead of old deflate code. 2005-04-15 17:50:09 +00:00
Andrey Kiselev
40ae66301e Use libtool machinery to pass rpath option. 2005-03-22 10:33:04 +00:00
Andrey Kiselev
8745b7866e Fixed problem with alpha channel handling as per bug
http://bugzilla.remotesensing.org/show_bug.cgi?id=794
2005-03-18 09:47:34 +00:00
Andrey Kiselev
ca3bdcae22 Fixed typo in page size handling code. 2005-03-17 14:41:59 +00:00
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