Commit Graph

305 Commits

Author SHA1 Message Date
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
Andrey Kiselev
f00e62d510 Number pages starting with zero as per bug
http://bugzilla.remotesensing.org/show_bug.cgi?id=341
2003-05-24 06:16:09 +00:00
Andrey Kiselev
0efbf194c5 raw2tiff sdded. 2003-05-24 06:05:13 +00:00
Andrey Kiselev
af72982dab Fixed bug in Ascii85EncodeBlock() function: array index was out of range. 2003-05-07 08:12:30 +00:00
Andrey Kiselev
cdfa074838 *** empty log message *** 2003-05-05 19:13:42 +00:00
Andrey Kiselev
c34905ee73 Fixed problem with bit fill order tag setting: was not copied from source
image.
2003-05-05 19:06:52 +00:00
Andrey Kiselev
ac3f89b460 PPM header parser improved: now able to skip comments. 2003-05-05 10:40:04 +00:00
Andrey Kiselev
d7adbd23df Add ability to generate PS Level 3. It basically allows one to use the
/flateDecode filter for ZIP compressed TIFF images. Patch supplied by
 Tom Kacvinsky. Fixes http://bugzilla.remotesensing.org/show_bug.cgi?id=328

Force deadzone printing when EPS output specified as per bug
http://bugzilla.remotesensing.org/show_bug.cgi?id=325
2003-04-29 09:52:16 +00:00
Andrey Kiselev
8415e87d3e Some more fixes to bug entry
http://bugzilla.remotesensing.org/show_bug.cgi?id=275
2003-04-21 19:13:59 +00:00
Andrey Kiselev
cbc8214586 Fixed problem with colorspace conversion for JPEG
encoded images. See bug entries
http://bugzilla.remotesensing.org/show_bug.cgi?id=275 and
http://bugzilla.remotesensing.org/show_bug.cgi?id=23
2003-04-16 13:21:09 +00:00
Andrey Kiselev
c26da71049 Added library version reporting to all tools. 2003-03-12 14:05:05 +00:00
Andrey Kiselev
1f20935271 New switch (-X) to set width of raw input page. Patch supplied by
Julien Gaulmin. See http://bugzilla.remotesensing.org/show_bug.cgi?id=293
for details.
2003-02-27 15:04:46 +00:00
Andrey Kiselev
210eb932ec Fixed problem with too many arguments. 2003-02-06 22:05:47 +00:00
Andrey Kiselev
fe6e11556e Memory leak fixed. 2003-02-04 08:51:38 +00:00
Andrey Kiselev
be7810fc2c Applied patch from Julien Gaulmin (thanks, Julien!). More switches for
fax2tiff tool for better control of input and output. Details at
http://bugzilla.remotesensing.org/show_bug.cgi?id=27
2003-02-03 16:54:22 +00:00
Andrey Kiselev
8ae9d8798a Page size was determined in wrong way as per bug
http://bugzilla.remotesensing.org/show_bug.cgi?id=239
2002-12-19 23:06:18 +00:00
Frank Warmerdam
743a29c475 The change below fixes a problem where "tiff2ps -1e" did not make
the scanline buffer long enough when writing rgb triplets.
The scanline needs to be 3 X the number of dots or else it will
contain an incomplete triplet and programs that try to separate
the eps by redefining the colorimage operator will get messed up.

William
http://williambader.com
2002-10-15 02:39:09 +00:00
Andrey Kiselev
5ed96d05fb Fixed help formatting. 2002-10-10 14:19:26 +00:00
Andrey Kiselev
e985fcbddb *** empty log message *** 2002-10-07 13:15:29 +00:00
Andrey Kiselev
bd77199765 tools/tiff2ps.c, man/tiff2ps.1: Applied patch form Sebastian Eken (thanks,
Sebastian!). New switches:
-b # for a bottom margin of # inches
-c   center image
-l # for a left margin of # inches
-r   rotate the image by 180 degrees
New features merged with code for shrinking/overlapping. Previously added -c
and -n switches (for overriding PS units) renamed in -x and -y respectively.

http://bugzilla.remotesensing.org/show_bug.cgi?id=200
2002-10-07 12:49:32 +00:00
Frank Warmerdam
5ae8f23ee7 bug80 - remove BeginData/EndData from PostScript output 2002-09-08 17:49:22 +00:00
Andrey Kiselev
ff411c24b5 Fixes in orientation support. 2002-08-18 17:29:17 +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
Andrey Kiselev
a94d5b4e3b Help option fixed 2002-06-27 13:07:46 +00:00
Andrey Kiselev
c2d7ef0d2c Added support for deflate compression. 2002-06-27 07:41:33 +00:00