User Intro
Prog Intro
Liste des commandes
Liste des manuels
Table of Contents
tiff2inr - convert a TIFF image in Inrimage image.
tiff2inr
[-i [-i ]]
tiff2inr
input-tiff-file
[image-out]
[-ct=colortb_file_out]
[-d %d]
[-id %d]
[-rgb]
[-fs]
[-nt]
tiff2inr
converts a TIFF image to Inrimage image.
TIFF format has a complex structure and authorizes a large king of
images. Most of them are supported by tiff2inr. All coding pixel formats
are handled (bit and byte coding, signed and float coding).
TIFF images with strip and scanline access are decoded.
TIFF images with Tiled access (with slice dimension) are treated.
However tiled image with slices are not fully tested. Color palette
and comments are preserved.
When pixels have a vectorial structure (RGB image for instance), TIFF
may store pixel value in a continue way or in a separate way. Only
the first one case is correctly handled by tiff2inr. In some
case of separate planar configuration, the conversion may failed.
Try the option -rgb to use the universal RGB access provided
by libtiff (warning : this access method may be loosy in some case).
We plan to enhance the separate planar configuration in a near futur.
tiff2inr supports the concept of directory: a TIFF file may
contain several images with their own characteristics.
An image in a TIFF file is called a directory. When tiff2inr reads a TIFF
file containing several directories, it processes by default the first one. Use
options -id and -d to select one or several directories to
convert : several Inrimage images will be created (with a postfix given by the
directory index).
If all directories have the same dimensions and pixel coding format, you may
use the -d2z option to produce an unique multiframe image (for example,
ImageJ use TIFF directories capability to store video sequence in a TIFF file).
- -i
- just display info on TIFF file (without decoding image).
- -ii
- display more info on TIFF file (without decoding image).
- -ct=
- write colormap in a separate image (specified by option value).
- -rgb
- convert to 24 bits (NDIMV=3). Should works for all images but
information can be lost. Try this option if conversion failed.
- -d2z
- If image contains directories, try to create one image with several
frames (NDIMZ>1). If it is not possible, this option is ignored.
- -id
- index of first directory to extract, 1 is default.
- -d
- count of directories to extract, -1 means extract all, 1 is default
or -1 if option -d2z is set.
- -fs
- use strip access instead of scanline access (if image is not tiled).
- -nt
- don't write info tags found in Inrimage header.
- -q
- quiet mode.
- -D
- print Inrimage and program traces.
ifmt(1i)
, inr2tiff(1i)
, gif2inr(1i)
, inr2gif(1i)
.
See Inrimage(1i)
a description of general options.
Enhance separate planar configuration.