OS Manuals

/usr/bin/tiffmedian

Provides support for the Tag Image File Format or TIFF

From tiff 4.7.2-r5 (os), captured 2026-11-05 by running tiffmedian --help (exit 1). permalink

/usr/bin/tiffmedian: invalid option -- '-'
LIBTIFF, Version 4.7.2
Copyright (c) 1988-1996 Sam Leffler
Copyright (c) 1991-1996 Silicon Graphics, Inc.

Apply the median cut algorithm to an RGB TIFF file

usage: tiffmedian [options] input.tif output.tif
where options are:
 -r #  make each strip have no more than # rows
 -C #  create a colormap with # entries
 -f    use Floyd-Steinberg dithering

 -c lzw[:opts] compress output with Lempel-Ziv & Welch encoding
    #  set predictor value
    For example, -c lzw:2 to get LZW-encoded data with horizontal differencing
 -c zip[:opts] compress output with deflate encoding
    #  set predictor value
 -c packbits   compress output with packbits encoding
 -c none       use no compression algorithm on output
Options (4)
OptionDescriptionSource
-r #make each strip have no more than # rowshelp
-C #create a colormap with # entrieshelp
-fuse Floyd-Steinberg ditheringhelp
-c packbitscompress output with packbits encodinghelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.