Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pal2rgb(1) — Dell System V Release 4 Issue 2.2

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

tiffinfo(1)

tiffcp(1)

tiffmedian(1)

libtiff(3)



PAL2RGB(1)                UNIX System V(May 18, 1991)                PAL2RGB(1)


NAME
      pal2rgb - convert a palette color TIFF image to a full color image

SYNOPSIS
      pal2rgb [ -none ] [ -packbits ] [ -lzw ] [ -contig ] [ -separate ] [
      -8bit ] [ -16bit ] [ -rowsperstrip n ] from-file to-file

DESCRIPTION
      Pal2rgb converts a palette color TIFF image to a full color image by
      applying the colormap of the palette image to each sample to generate a
      full color RGB image.  By default, pal2rgb inspects the colormap values
      and assumes either 16-bit or 8-bit values according to the maximum value.
      That is, if no colormap entry greater than 255 is found, pal2rgb assumes
      the colormap has only 8-bit values; otherwise it assumes 16-bit values
      (as required by the TIFF specification).  To force the colormap to be
      treated as having 8-bit or 16-bit values, the -8bit or -16bit flag may be
      specified, respectively.

      The output image can be compressed with one of the compression algorithms
      supported by libtiff:  -packbits for Macintosh Packbits, -lzw for
      Lempel-Ziv & Welch, -none for no compression.  If no compression-related
      option is specified, the input file's compression algorithm is used.

      As for tiffcp(1), the TIFF directory information of the input image is
      copied through to the output image. The -contig, -separate, and
      -rowsperstrip options may be used to control the data organization of the
      output image.

BUGS
      Only 8-bit images are handled.

SEE ALSO
      tiffinfo(1), tiffcp(1), tiffmedian(1), libtiff(3)





















10/89                                                                    Page 1





Typewritten Software • bear@typewritten.org • Edmonds, WA 98026