# libtiff: Updates for tiff2ps.1

**URL:** <https://discourse.libsdl.org/t/libtiff-updates-for-tiff2ps-1/35752>\
**Category:** SDL Commits\
**Created:** [May 7, 2022, 7:12pm UTC](https://discourse.libsdl.org/t/libtiff-updates-for-tiff2ps-1/35752 "2022-05-07T19:12:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SDLPushPostBot](https://discourse.libsdl.org/user_avatar/discourse.libsdl.org/sdlpushpostbot/32/4370_2.png) [@SDLPushPostBot](https://discourse.libsdl.org/u/SDLPushPostBot)\
**Post date:** [May 7, 2022, 7:12pm UTC](https://discourse.libsdl.org/t/libtiff-updates-for-tiff2ps-1/35752/1 "2022-05-07T19:12:34Z")

</div>

[https://github.com/libsdl-org/libtiff/commit/d45600cc80a774c74a87f4d4554e7e07b01bb159](https://github.com/libsdl-org/libtiff/commit/d45600cc80a774c74a87f4d4554e7e07b01bb159)

```diff
From d45600cc80a774c74a87f4d4554e7e07b01bb159 Mon Sep 17 00:00:00 2001
From: Bob Friesenhahn <[EMAIL REDACTED]>
Date: Mon, 12 Jan 2009 02:05:28 +0000
Subject: [PATCH] Updates for tiff2ps.1

---
 ChangeLog | 3 +--
 man/tiff2ps.1 | 18 +++++++++++++++---
 2 files changed, 16 insertions(+), 5 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index c952a116..69fa5a85 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,8 +2,7 @@
 
 	* tools/tiff2ps.c: Incorporated significant functionality update
 	from Richard Nolde. In particular, support for rotating the image
-	by 90, 180, 270, and 'auto' has been added. Still waiting for
-	documentation patch to man/tiff2ps.1.
+	by 90, 180, 270, and 'auto' has been added.
 
 	* tools/tiffcrop.c: Incorporated significant functionality update
 	from Richard Nolde.
diff --git a/man/tiff2ps.1 b/man/tiff2ps.1
index 71eddd7e..b62cee9b 100644
--- a/man/tiff2ps.1
+++ b/man/tiff2ps.1
@@ -1,4 +1,4 @@
-.\" $Id: tiff2ps.1,v 1.9 2006-04-20 12:17:19 dron Exp $
+.\" $Id: tiff2ps.1,v 1.9.2.1 2009-01-12 02:05:28 bfriesen Exp $
 .\"
 .\" Copyright (c) 1988-1997 Sam Leffler
 .\" Copyright (c) 1991-1997 Silicon Graphics, Inc.
@@ -136,6 +136,13 @@ be split in several pages. Option
 .B \-L
 may be used for specifying size of split images overlapping.
 .TP
+.B \-W
+Specify the maximum width of image (in inches). Images with larger sizes will
+be split in several pages. Options
+.B \-L
+and 
+.B \-W
+are mutually exclusive.
 .B \-i
 Enable/disable pixel interpolation. This option requires a
 single numeric value: zero to disable pixel interpolation and
@@ -145,6 +152,8 @@ non-zero to enable. The default is enabled.
 Specify the size of overlapping for split images (in inches). Used in
 conjunction with
 .B \-H
+option and
+.B \-W
 option.
 .TP
 .B \-l
@@ -179,8 +188,11 @@ tag.
 .B \-p
 Force the generation of (non-Encapsulated) \*(Ps.
 .TP
-.B \-r
-Rotate image by 180 degrees.
+.B \-r 90|180|270|auto
+Rotate image by 90, 180, 270 degrees or auto. Auto picks the best
+fit for the image on the specified paper size (eg portrait
+or landscape) if -h or -w is specified. Rotation is in degrees 
+counterclockwise. Auto rotates 90 degrees ccw to produce landscape.
 .TP
 .B \-s
 Generate output for a single IFD (page) in the input file.

```
