|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
<meta content="groff -Thtml, see www.gnu.org" name="generator">
|
|
kusano |
7d535a |
<meta content="text/css" name="Content-Style">
|
|
kusano |
7d535a |
<title>TIFF2RGBA</title>
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
TIFF2RGBA
|
|
kusano |
7d535a |
NAME
|
|
kusano |
7d535a |
SYNOPSIS
|
|
kusano |
7d535a |
DESCRIPTION
|
|
kusano |
7d535a |
OPTIONS
|
|
kusano |
7d535a |
SEE ALSO
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
NAME
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
cols="2" cellspacing="0" cellpadding="0">
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
tiff2rgba − convert a <small>TIFF</small> image to
|
|
kusano |
7d535a |
RGBA color space
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
SYNOPSIS
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
cols="2" cellspacing="0" cellpadding="0">
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
tiff2rgba [ options ] input.tif
|
|
kusano |
7d535a |
output.tif
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
DESCRIPTION
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
cols="2" cellspacing="0" cellpadding="0">
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
Tiff2rgba converts a wide variety of TIFF images
|
|
kusano |
7d535a |
into an RGBA TIFF image. This includes the ability to
|
|
kusano |
7d535a |
translate different color spaces and photometric
|
|
kusano |
7d535a |
interpretation into RGBA, support for alpha blending, and
|
|
kusano |
7d535a |
translation of many different bit depths into a 32bit RGBA
|
|
kusano |
7d535a |
image.
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
Internally this program is implemented using the
|
|
kusano |
7d535a |
TIFFReadRGBAImage() function, and it suffers any
|
|
kusano |
7d535a |
limitations of that image. This includes limited support for
|
|
kusano |
7d535a |
> 8 BitsPerSample images, and flaws with some esoteric
|
|
kusano |
7d535a |
combinations of BitsPerSample, photometric interpretation,
|
|
kusano |
7d535a |
block organization and planar configuration.
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
The generated images are stripped images with four
|
|
kusano |
7d535a |
samples per pixel (red, green, blue and alpha) or if the
|
|
kusano |
7d535a |
−n flag is used, three samples per pixel (red,
|
|
kusano |
7d535a |
green, and blue). The resulting images are always planar
|
|
kusano |
7d535a |
configuration contiguous. For this reason, this program is a
|
|
kusano |
7d535a |
useful utility for transform exotic TIFF files into a form
|
|
kusano |
7d535a |
ingestible by almost any TIFF supporting software.
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
OPTIONS
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
cols="5" cellspacing="0" cellpadding="0">
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
−c
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
Specify a compression scheme to use when writing image
|
|
kusano |
7d535a |
data: −c none for no compression (the default),
|
|
kusano |
7d535a |
−c packbits for the PackBits compression
|
|
kusano |
7d535a |
algorithm, −c zip for the Deflate compression
|
|
kusano |
7d535a |
algorithm, −c jpeg for the JPEG compression
|
|
kusano |
7d535a |
algorithm, and −c lzw for Lempel-Ziv &
|
|
kusano |
7d535a |
Welch.
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
−r
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
Write data with a specified number of rows per strip; by
|
|
kusano |
7d535a |
default the number of rows/strip is selected so that each
|
|
kusano |
7d535a |
strip is approximately 8 kilobytes.
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
−b
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
Process the image one block (strip/tile) at a time
|
|
kusano |
7d535a |
instead of by reading the whole image into memory at once.
|
|
kusano |
7d535a |
This may be necessary for very large images on systems with
|
|
kusano |
7d535a |
limited RAM.
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
−n
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
Drop the alpha component from the output file, producing
|
|
kusano |
7d535a |
a pure RGB file. Currently this does not work if the
|
|
kusano |
7d535a |
−b flag is also in effect.
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
SEE ALSO
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
cols="2" cellspacing="0" cellpadding="0">
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
tiff2bw(1), TIFFReadRGBAImage(3t),
|
|
kusano |
7d535a |
libtiff(3)
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
Libtiff library home page:
|
|
kusano |
7d535a |
http://www.remotesensing.org/libtiff/
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|