2013.08.12 11:20 "[Tiff] missing options man pages", by Petr Hracek

2013.08.12 11:20 "[Tiff] missing options man pages", by Petr Hracek

Hi folks,

there are several options which are missing in tiff2ps:
-8
-D
-o
-T

There are several options which are missing in tiffcp:

tiffcp's program help contains some options unexplained in manual page and some options in manual page are not present in program help.
3 option(s) reported by the program ONLY:
        -a
        -o
5 option(s) reported by the man page ONLY:
        -B
        -C
        -L
        -M

Patch is below:
diff --git a/man/tiff2ps.1 b/man/tiff2ps.1
index c3a9bac..2b739fa 100644
--- a/man/tiff2ps.1
+++ b/man/tiff2ps.1
@@ -100,6 +100,9 @@ Generate \*(Ps Level 2.
  Generate \*(Ps Level 3. It basically allows one to use the /flateDecode
  filter for ZIP compressed TIFF images.
  .TP
+.B \-8
+Disable use of ASCII85 encoding with PostScript Level 2/3
+.TP
  .B \-a
  Generate output for all IFDs (pages) in the input file.
  .TP
@@ -123,6 +126,9 @@ directory to the specified directory number.
  This option is useful for selecting individual pages in a
  multi-page (e.g. facsimile) file.
  .TP
+.B \-D
+Enable duplex printing (two pages per sheet of paper)
+.TP
  .B \-e
  Force the generation of Encapsulated \*(Ps (implies
  .BR \-z ).
@@ -185,6 +191,10 @@ like which are hidden using the
  .I SubIFD
  tag.
  .TP
+.B \-O file
+Write PostScript to file instead of standard output
+Set the initial
+.TP
  .B \-p
  Force the generation of (non-Encapsulated) \*(Ps.
  .TP
@@ -194,6 +204,9 @@ 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 \-T
+Print pages for top edge binding
+.TP
  .B \-s

Generate output for a single IFD (page) in the input file.

  .TP
diff --git a/man/tiffcp.1 b/man/tiffcp.1
index 5fdcc47..78a2844 100644
--- a/man/tiffcp.1
+++ b/man/tiffcp.1
@@ -60,6 +60,12 @@ in a file, but it is explicitly intended to not alter
or convert
  the image data content in any way.
  .SH OPTIONS
  .TP
+.BI \-a
+Append to output instead of overwriting
+.TP
+.BI \-o " offset"
+Set initial directory offset
+.TP
  .BI \-b " image"
  subtract the following monochrome image from all others
  processed. This can be used to remove a noise bias
diff --git a/tools/tiffcp.c b/tools/tiffcp.c
index 0f81b19..1c06fd8 100644
--- a/tools/tiffcp.c
+++ b/tools/tiffcp.c
@@ -411,11 +411,15 @@ char* stuff[] = {

  " -8              write BigTIFF instead of default ClassicTIFF",
  " -i              ignore read errors",
  " -b file[,#]     bias (dark) monochrome image to be subtracted from 

all others",
+" -B force output to be written with Big-Endian byte order",
+" -C suppress to use of strip chopping",
  " -,=% use % rather than, to separate image #'s (per Note
below)",
  "",

  " -r #            make each strip have no more than # rows",
  " -w #            set output tile width (pixels)",
  " -l #            set output tile length (pixels)",

+" -L force output to be written with Little-Endian byte
order",
+" -M suppress to use of memory-mapped files",
  "",

  " -f lsb2msb      force lsb-to-msb FillOrder for output",
  " -f msb2lsb      force msb-to-lsb FillOrder for output",

--
Best regards / S pozdravem
Petr Hracek