Provided by: libtiff-tools_4.5.1+git230720-4ubuntu2.2_amd64 bug

NAME

       raw2tiff - create a TIFF file from a raw data file

SYNOPSIS

       raw2tiff [ options ] *input.raw output.tif

DESCRIPTION

       raw2tiff converts a raw byte sequence into TIFF.  By default, the TIFF image is created with data samples
       packed (PlanarConfiguration=1), compressed with the PackBits algorithm (Compression=32773), and with each
       strip  no  more than 8 kilobytes.  These characteristics can overridden, or explicitly specified with the
       options described below.

OPTIONS

       -H number
              Size of input image file header in bytes (0 by default). This amount of data just will be  skipped
              from the start of file while reading.

       -w number
              Width of input image in pixels (can be guessed, see Guessing the image geometry below).

       option -b number

              number of bands in input image (1 by default).

       -d datatype
              type of samples in input image, where datatype may be one of:
                                      ┌───────────┬──────────────────────────────────┐
                                      │ Data type │ Description                      │
                                      ├───────────┼──────────────────────────────────┤
                                      │ byte      │ 8-bit unsigned integer (default) │
                                      ├───────────┼──────────────────────────────────┤
                                      │ short     │ 16-bit unsigned integer          │
                                      ├───────────┼──────────────────────────────────┤
                                      │ long      │ 32-bit unsigned integer          │
                                      ├───────────┼──────────────────────────────────┤
                                      │ sbyte     │ 8-bit signed integer             │
                                      ├───────────┼──────────────────────────────────┤
                                      │ sshort    │ 16-bit signed integer            │
                                      ├───────────┼──────────────────────────────────┤
                                      │ slong     │ 32-bit signed integer            │
                                      ├───────────┼──────────────────────────────────┤
                                      │ float     │ 32-bit IEEE floating point       │
                                      ├───────────┼──────────────────────────────────┤
                                      │ double    │ 64-bit IEEE floating point       │
                                      └───────────┴──────────────────────────────────┘

       -i config
              type of sample interleaving in input image, where config may be one of:
                                    ┌───────────────┬──────────────────────────────────┐
                                    │ Configuration │ Description                      │
                                    ├───────────────┼──────────────────────────────────┤
                                    │ pixel         │ pixel interleaved data (default) │
                                    ├───────────────┼──────────────────────────────────┤
                                    │ band          │ band interleaved data.           │
                                    └───────────────┴──────────────────────────────────┘

       -p photo
              photometric interpretation (color space) of the input image, where photo may be one of:
                                   ───────────────────────────────────────────────────────
                                     Photometric   Description
                                   ───────────────────────────────────────────────────────
                                     miniswhite    white color represented with 0 value
                                   ───────────────────────────────────────────────────────
                                     minisblack    black  color represented with 0 value
                                                   (default)
                                   ───────────────────────────────────────────────────────
                                     rgb           image has RGB color model
                                   ───────────────────────────────────────────────────────
                                     cmyk          image  has  CMYK  (separated)   color
                                                   model
                                   ───────────────────────────────────────────────────────
                                     ycbcr         image has YCbCr color model
                                   ───────────────────────────────────────────────────────
                                     cielab        image has CIE L*a*b color model
                                   ───────────────────────────────────────────────────────
                                     icclab        image has ICC L*a*b color model
                                   ───────────────────────────────────────────────────────
                                     itulab        image has ITU L*a*b color model
                                   ┌─────────────┬───────────────────────────────────────┐
                                   │             │                                       │
--
GUESSING THE IMAGE GEOMETRY        │             │                                       │
--
SEE ALSO                           │             │                                       │
--
AUTHOR                             │             │                                       │
       LibTIFF contributors        │             │                                       │
                                   │             │                                       │
COPYRIGHT                          │             │                                       │