Commit Graph

192 Commits

Author SHA1 Message Date
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
Andrey Kiselev
f2558c8426 Added workaround for some software that may crash when last strip
of image contains fewer number of scanlines than specified by the
`/Height' variable. See
http://bugzilla.remotesensing.org/show_bug.cgi?id=164 for explanation.
2002-06-22 10:32:56 +00:00
Andrey Kiselev
68db217599 New functionality for tiff2ps utility: splitting long images in several pages.
See http://bugzilla.remotesensing.org/show_bug.cgi?id=142 for explanation.
Patch granted by John Williams <williams@morinda.com>.
2002-06-21 10:24:40 +00:00
Andrey Kiselev
b7a6cf276a *** empty log message *** 2002-06-02 11:41:23 +00:00
Andrey Kiselev
ff51d7a6aa New commandline switches to override resolution units obtained from the input
file. Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=131
2002-05-10 10:45:43 +00:00
Andrey Kiselev
2484287354 Updated to reflect latest changes in libtiff. Closes
http://bugzilla.remotesensing.org/show_bug.cgi?id=125
2002-04-22 07:32:24 +00:00
Andrey Kiselev
0aa0a6dbce Divide by zero fixed. Closes
http://bugzilla.remotesensing.org/show_bug.cgi?id=88
2002-04-09 20:48:53 +00:00
Andrey Kiselev
900dffdcbe Added support for 'Orientation' tag in tiffcp utility (at cpStripToTile
routine).
2002-03-31 22:57:19 +00:00
Andrey Kiselev
6236465593 Shared library will not be stripped when installing, utility binaries will do.
Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=93
2002-03-08 07:21:53 +00:00
Frank Warmerdam
b049944746 Added TIFFTAG_JPEGTABLES entry in tag table. 2002-01-16 18:04:57 +00:00
Frank Warmerdam
ad9dd219cd Fix bug in error output. 2002-01-16 17:50:05 +00:00
Frank Warmerdam
0bdad6cb3c Fixed several warnings. 2002-01-16 17:48:16 +00:00
Frank Warmerdam
4b1d7e4c29 added TIFFRewriteDirectory 2001-09-26 17:42:18 +00:00
Frank Warmerdam
4f152a1867 New 2001-09-25 02:27:51 +00:00