Commit Graph

381 Commits

Author SHA1 Message Date
Frank Warmerdam
fb16c8ba87 added support for OPTIMIZER from config.site 2001-03-30 01:55:32 +00:00
Frank Warmerdam
4f4c99abfc From Helge (libtiff@oldach.net)
Here's a fix for fax2ps that corrects behaviour for non-Letter paper
sizes. It fixes two problems:

Without scaling (-S) the fax is now centered on the page size specified
with -H and/or -W. Before, fax2ps was using an obscure and practially
useless algorithm to allocate the image relative to Letter sized paper
which sometime sled to useless whitespace on the paper, while at the
same time cutting of the faxes printable area at the opposite border.

Second, scaling now preserves aspect ratio, which makes unusual faxes
(in particular short ones) print properly.
2001-03-29 01:45:43 +00:00
Frank Warmerdam
7a1ad5e9d9 Broad changes to tiff2ps by Bruce A. Mallett.
Fixed PS_Lvl2page() code which outputs non-ASCII85 raw
    data.  Moved test for when to output a line break to
    *after* the output of a character.  This just serves
    to fix an eye-nuisance where the first line of raw
    data was one character shorter than subsequent lines.

    Added an experimental ASCII85 encoder which can be used
    only when there is a single buffer of bytes to be encoded.
    This version is much faster at encoding a straight-line
    buffer of data because it can avoid alot of the loop
    overhead of the byte-by-bye version.  To use this version
    you need to define EXP_ASCII85ENCODER (experimental ...).

    Added bug fix given by Michael Schmidt to PS_Lvl2page()
    in which an end-of-data marker ('>') was not being output
    when producing non-ASCII85 encoded PostScript Level 2
    data.

    Fixed PS_Lvl2colorspace() so that it no longer assumes that
    a TIFF having more than 2 planes is a CMYK.  This routine
    no longer looks at the samples per pixel but instead looks
    at the "photometric" value.  This change allows support of
    CMYK TIFFs.

    Modified the PostScript L2 imaging loop so as to test if
    the input stream is still open before attempting to do a
    flushfile on it.  This was done because some RIPs close
    the stream after doing the image operation.

    Got rid of the realloc() being done inside a loop in the
    PSRawDataBW() routine.  The code now walks through the
    byte-size array outside the loop to determine the largest
    size memory block that will be needed.

    Added "-m" switch to ask tiff2ps to, where possible, use the
    "imagemask" operator instead of the "image" operator.

    Added the "-i #" switch to allow interpolation to be disabled.

    Unrolled a loop or two to improve performance.
2001-03-29 01:34:33 +00:00
Frank Warmerdam
7b2e915893 New 2001-03-02 04:58:53 +00:00
Frank Warmerdam
f1ca6ff832 added tiffset 2001-03-02 04:58:46 +00:00
Frank Warmerdam
3ba769b282 Brent Roman: added bias, and comma subfile support, removed -z 2001-02-19 15:18:19 +00:00
Mike Welles
4e58796e7b Just committing RELEASE-DATE 2001-01-23 21:41:21 +00:00
Mike Welles
a7f6e194cf * modified Makefile.in, configure, and dist/newversion, so that.
the old code updates things based on the info in VERSION. I've
	  kept this, but added a second token in VERSION, "beta". configure
	  will now parse VERSION into $VERSION and $RELEASE.  Whatever the
	  second token is will be appened to the "release" target tar and
	  zip afiles, and will be used by dist/newversion to
	  create dist/tiff.version.
2000-12-22 22:33:41 +00:00
Frank Warmerdam
e1f05487e9 fixed output strip size to account for vertical roundup to sample factor 2000-10-19 13:23:49 +00:00
Frank Warmerdam
de9b66753d tiff2bw accuracy patch from Stanislav Brabec 2000-10-12 14:16:22 +00:00
Frank Warmerdam
82cc2afe92 copy TIFFTAG_SAMPLEFORMAT field 2000-04-18 22:47:10 +00:00
Frank Warmerdam
58102f84bf patch for SGI install command 2000-04-18 20:29:01 +00:00
Mike Welles
f076e7232f Added patch to remove compiler warnings in tif_lzw.c 2000-04-04 14:43:35 +00:00
Mike Welles
9770233888 Updated docs, changelog -- modified Makefile.in to make release target in parent directory 2000-03-29 04:35:28 +00:00
Frank Warmerdam
6e8bb63779 fixed swapping of width and height in BoundingBox 2000-03-28 18:22:59 +00:00
Mike Welles
c21b8b9753 ke Welles <mike@onshore.com>
* fax2ps:  Modified printruns to take uint32 instead of uint16.
	Patch courtesy of Bernt Herd <herd@herdsoft.com>

	* html:  Createdd v3.5.5.htmlCVS: Modified Files:
2000-03-27 17:05:55 +00:00
Mike Welles
d20c60a208 2000-03-20 Mike Welles <mike@onshore.com>
* configure: added test for libc6 for linux targets.  Bug reported by
          Stanislav Brabec <utx@k332.feld.cvut.cz>

	* Added 3.5 docs to html/Makefile.in.  Thanks to  Stanislav Brabec <utx@k332.feld.cvut.cz>

	* configure: fixed bugs in sed scripts (applied sed script s:/@:s;@:;s:/s;;:;: to configure).
	  fix submitted to Stanislav Brabec <utx@k332.feld.cvut.cz>

	* tools/iptcutil was not in files list, and wasn't being added to tar archive.  Updated Makefile.in.
2000-03-20 18:20:42 +00:00
Frank Warmerdam
c41985f6b1 Fixed stopondiff testing so that -l works.
Patch from: Joseph Orost <joe@sanskrit.lz.att.com>
2000-02-16 02:53:49 +00:00
Frank Warmerdam
d8dfb6780a avoid warnings on IRIX 2000-01-28 21:18:16 +00:00
Frank Warmerdam
ba2c4a8d2a Added clean target. 2000-01-05 03:13:58 +00:00
Mike Welles
c38ac53b1d Created lzw compression kit, as a new module (libtiff-lzw-compression-kit).
Altered descriptions in tools to reflect "by default" lzw not supported

Updated index.html to note lzw compression kit.
1999-12-27 17:35:01 +00:00
Mike Welles
da558ffbe4 * Aadded Pixar tag support.
Contributed by Phil Beffery <phil@pixar.com>
	* Made one more change to tif_dir.c for removal of LZW compression.
	  Also added notice when LZW compression invoked.
	* Changed default compression in tools to TIFF_PACKBITS, and changed
	  usage description in tools to reflect removal of LZW compression
1999-12-21 17:03:03 +00:00
Mike Welles
1c0961757f * Fixed bug that caused LZW (non) compression to segfault. Added
warning about LZW compression removed being removed, and why.
1999-12-20 23:46:11 +00:00
Frank Warmerdam
05f6519dba Made PACKBITS the default compression instead of LZW. 1999-12-04 20:48:27 +00:00
Mike Welles
8883ce4e1c release fixing.. 1999-09-28 17:22:20 +00:00
Frank Warmerdam
46d57b4b44 New 1999-08-17 03:07:50 +00:00
Frank Warmerdam
0c05326424 Modified to compile on Windows. 1999-08-17 03:07:43 +00:00
Frank Warmerdam
8c87537082 tiffcp.c 1999-08-16 18:27:51 +00:00
Frank Warmerdam
ef0bad9eae added tiff2rgba 1999-08-16 18:26:37 +00:00
Frank Warmerdam
babc83e785 New 1999-08-16 17:46:08 +00:00
Mike Welles
0ef31e1f62 Initial revision 1999-07-27 21:50:26 +00:00