raw2tiff -V (return code: 255)
raw2tiff: invalid option -- '-'
raw2tiff: invalid option -- 'v'
raw2tiff: invalid option -- 'e'
LIBTIFF, Version 4.0.8
Copyright (c) 1988-1996 Sam Leffler
Copyright (c) 1991-1996 Silicon Graphics, Inc.
raw2tiff --- tool for converting raw byte sequences in TIFF images
usage: raw2tiff [options] input.raw output.tif
where options are:
-L input data has LSB2MSB bit order (default)
-M input data has MSB2LSB bit order
-r # make each strip have no more than # rows
-H # size of input image file header in bytes (0 by default)
-w # width of input image in pixels
-l # length of input image in lines
-b # number of bands in input image (1 by default)
-d data_type type of samples in input image
where data_type may be:
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
-p photo photometric interpretation (color space) of the input image
where photo may be:
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
-s swap bytes fetched from input file
-i config type of samples interleaving in input image
where config may be:
pixel pixel interleaved data (default)
band band interleaved data
-c lzw[:opts] compress output with Lempel-Ziv & Welch encoding
-c zip[:opts] compress output with deflate encoding
-c jpeg[:opts] compress output with JPEG encoding
-c packbits compress output with packbits encoding
-c none use no compression algorithm on output
JPEG options:
# set compression quality level (0-100, default 75)
r output color image as RGB rather than YCbCr
For example, -c jpeg:r:50 to get JPEG-encoded RGB data with 50% comp. quality
LZW and deflate options:
# set predictor value
For example, -c lzw:2 to get LZW-encoded data with horizontal differencing
-o out.tif write output to out.tif
-h this help message
raw2tiff -HELP (return code: 255)
raw2tiff: invalid option -- '-'
LIBTIFF, Version 4.0.8
Copyright (c) 1988-1996 Sam Leffler
Copyright (c) 1991-1996 Silicon Graphics, Inc.
raw2tiff --- tool for converting raw byte sequences in TIFF images
usage: raw2tiff [options] input.raw output.tif
where options are:
-L input data has LSB2MSB bit order (default)
-M input data has MSB2LSB bit order
-r # make each strip have no more than # rows
-H # size of input image file header in bytes (0 by default)
-w # width of input image in pixels
-l # length of input image in lines
-b # number of bands in input image (1 by default)
-d data_type type of samples in input image
where data_type may be:
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
-p photo photometric interpretation (color space) of the input image
where photo may be:
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
-s swap bytes fetched from input file
-i config type of samples interleaving in input image
where config may be:
pixel pixel interleaved data (default)
band band interleaved data
-c lzw[:opts] compress output with Lempel-Ziv & Welch encoding
-c zip[:opts] compress output with deflate encoding
-c jpeg[:opts] compress output with JPEG encoding
-c packbits compress output with packbits encoding
-c none use no compression algorithm on output
JPEG options:
# set compression quality level (0-100, default 75)
r output color image as RGB rather than YCbCr
For example, -c jpeg:r:50 to get JPEG-encoded RGB data with 50% comp. quality
LZW and deflate options:
# set predictor value
For example, -c lzw:2 to get LZW-encoded data with horizontal differencing
-o out.tif write output to out.tif
-h this help message